Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/vndcompress



Module Name:    src
Committed By:   he
Date:           Wed Jul 27 09:29:02 UTC 2005

Modified Files:
        src/usr.bin/vndcompress: vndcompress.c

Log Message:
The return type from getopt(3) is int, not char.  Besides, char is
not guaranteed to be signed, so comparison with -1 will cause a
warning (turned error) for some of our ports (e.g. our arm ports).
Fix this by making the 'ch' variable an int instead of a char.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/usr.bin/vndcompress/vndcompress.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index