Subject: CVS commit: src/usr.bin/vndcompress
To: None <source-changes@NetBSD.org>
From: Havard Eidnes <he@netbsd.org>
List: source-changes
Date: 07/27/2005 09:29:02
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.