[cfe-commits] [PATCH] c-index-test.c: Fix cygwin warning not to pass signed char to islower(c).

Douglas Gregor dgregor at apple.com
Tue Mar 8 19:04:39 PST 2011


On Mar 8, 2011, at 6:46 PM, NAKAMURA Takumi wrote:

> Cygwin's ctype.h says;
> /* These macros are intentionally written in a manner that will trigger
>   a gcc -Wall warning if the user mistakenly passes a 'char' instead
>   of an int containing an 'unsigned char'.
>   (snip) */

Weird. Patch looks fine, though.

	- Doug




More information about the cfe-commits mailing list