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

NAKAMURA Takumi geek4civic at gmail.com
Tue Mar 8 18:46:19 PST 2011


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) */
---
 tools/c-index-test/c-index-test.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

...Takumi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-c-index-test.c-Fix-cygwin-warning-not-to-pass-si.patch.txt
Type: text/x-patch
Size: 553 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110309/728e456c/attachment.bin>


More information about the cfe-commits mailing list