[XForms] [PATCH]: squashing all remaining warnings

Angus Leeming angus.leeming at btopenworld.com
Thu Nov 20 07:49:29 EST 2003


Attached is a patch to squash all the remaining warnings when compiling with 
CFLAGS='-W -Wall -Wno-unused-parameter'. All these warnings are 'comparison 
of signed and unsigned'.

I have been pretty careful here and when unsure have erred on the side of 
caution, casting the unsigned var to signed. Much of the time though I have 
felt that going the other way was fine (ie, casting the signed var to 
unsigned).

I would value it if someone would take the time to verify that I haven't 
fubar-ed here.

Regards,
Angus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signed.diff.gz
Type: application/x-gzip
Size: 5283 bytes
Desc: not available
Url : attachments/20031120/075bb252/attachment-0010.gz 


More information about the Xforms mailing list