compat: fix use of <ctype.h> functions
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 29 Aug 2011 16:04:06 +0000 (19:04 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 29 Aug 2011 16:20:10 +0000 (19:20 +0300)
commit487b7594aadd2aac678fe8c75607738f43aba6aa
tree598c87aa1d588b91775848cb5b3ecc1b78f74e35
parent2e1714030b8cda1fd7d6ec6b7b72ec62a68ad8aa
compat: fix use of <ctype.h> functions

Unfortunately, the C standard requires an 'unsigned char' value or EOF.
So we cannot blindly pass a 'char' value, which may be signed depending
on the architecture.
compat/strcasecmp.c
compat/strcasestr.c
compat/strncasecmp.c