From: Steve Holme Date: Fri, 9 May 2014 12:15:59 +0000 (+0100) Subject: tool_urlglob.c: Fixed compilation warning X-Git-Tag: curl-7_37_0~49 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=952b54095a893e05e08e301293727a7452b94e47;p=thirdparty%2Fcurl.git tool_urlglob.c: Fixed compilation warning An enumerated type is mixed with another type. --- diff --git a/src/tool_urlglob.c b/src/tool_urlglob.c index 4419cfa4b1..6e4cdb07a5 100644 --- a/src/tool_urlglob.c +++ b/src/tool_urlglob.c @@ -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;