Subject: CVS commit: [netbsd-3] src/usr.bin/vndcompress
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <firstname.lastname@example.org>
Date: 08/16/2005 12:16:08
Module Name: src
Committed By: tron
Date: Tue Aug 16 12:16:08 UTC 2005
src/usr.bin/vndcompress [netbsd-3]: vndcompress.c
Pull up revision 1.3 (requested by hubertf in ticket #667):
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 -r220.127.116.11 -r18.104.22.168 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.