diff --git a/src/client/ns_turn_msg.c b/src/client/ns_turn_msg.c index 464a581..fed7d46 100644 --- a/src/client/ns_turn_msg.c +++ b/src/client/ns_turn_msg.c @@ -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;