1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

tool_urlglob.c: Fixed compilation warning

An enumerated type is mixed with another type.
This commit is contained in:
Steve Holme 2014-05-09 13:15:59 +01:00
parent 5b8ae0a985
commit 952b54095a

View File

@ -324,7 +324,7 @@ static bool peek_ipv6(const char *str, size_t *skip)
} }
else if(c == ']') { else if(c == ']') {
*skip = i; *skip = i;
return colons >= 2; return colons >= 2 ? TRUE : FALSE;
} }
else { else {
return FALSE; return FALSE;