1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04: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 == ']') {
*skip = i;
return colons >= 2;
return colons >= 2 ? TRUE : FALSE;
}
else {
return FALSE;