cygwin warnings fixed

This commit is contained in:
mom040267 2015-01-24 08:40:10 +00:00
parent 4e8b95bbb0
commit e79e4279ad

View File

@ -615,7 +615,7 @@ static inline int sheadof(const char *head, const char* full, int ignore_case)
{
while(*head) {
if(*head != *full) {
if(ignore_case && (tolower(*head)==tolower(*full))) {
if(ignore_case && (tolower((int)*head)==tolower((int)*full))) {
//OK
} else {
return 0;