Subject: CVS commit: [netbsd-3] src/usr.bin/vndcompress
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 08/16/2005 12:16:08
Module Name: src
Committed By: tron
Date: Tue Aug 16 12:16:08 UTC 2005
Modified Files:
src/usr.bin/vndcompress [netbsd-3]: vndcompress.c
Log Message:
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 -r1.3.2.2 -r1.3.2.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.