tool_urlglob.c: Fixed compilation warning
authorSteve Holme <steve_holme@hotmail.com>
Fri, 9 May 2014 12:15:59 +0000 (13:15 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Fri, 9 May 2014 12:18:57 +0000 (13:18 +0100)
An enumerated type is mixed with another type.

src/tool_urlglob.c

index 4419cfa..6e4cdb0 100644 (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;