mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
tool_urlglob.c: Fixed compilation warning
An enumerated type is mixed with another type.
This commit is contained in:
parent
5b8ae0a985
commit
952b54095a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user