Subject: CVS commit: src/include
To: None <>
From: David Laight <>
List: source-changes
Date: 11/05/2004 22:55:19
Module Name:	src
Committed By:	dsl
Date:		Fri Nov  5 22:55:19 UTC 2004

Modified Files:
	src/include: ctype.h

Log Message:
Remove the (int) cast from the array subscript of the ctype #defines.
The cast just stops gcc detecting places where the functions are
passed a 'char' variable - and will index off the array for byte values
0x80 to 0xff.
All (I hope) of the places in the netbsd sources where this was a
potential problem have had an (unsigned char) cast applied.
Christos said he'll fix any fallout I've missed.

To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 src/include/ctype.h

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