aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-05-09 13:15:59 +0100
committerSteve Holme <steve_holme@hotmail.com>2014-05-09 13:18:57 +0100
commit952b54095a893e05e08e301293727a7452b94e47 (patch)
tree2aec2108189d234f0038697af3c0e6bffde993da /src
parent5b8ae0a985a62a71aacda33d63e326d17b00da63 (diff)
tool_urlglob.c: Fixed compilation warning
An enumerated type is mixed with another type.
Diffstat (limited to 'src')
-rw-r--r--src/tool_urlglob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_urlglob.c b/src/tool_urlglob.c
index 4419cfa4b..6e4cdb07a 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;