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:
parent
5b8ae0a985
commit
952b54095a
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user