From 952b54095a893e05e08e301293727a7452b94e47 Mon Sep 17 00:00:00 2001
From: Steve Holme <steve_holme@hotmail.com>
Date: Fri, 9 May 2014 13:15:59 +0100
Subject: [PATCH] tool_urlglob.c: Fixed compilation warning

An enumerated type is mixed with another type.
---
 src/tool_urlglob.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
GitLab