projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b8ae0a
)
tool_urlglob.c: Fixed compilation warning
author
Steve Holme
<steve_holme@hotmail.com>
Fri, 9 May 2014 12:15:59 +0000
(13:15 +0100)
committer
Steve 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
patch
|
blob
|
history
diff --git
a/src/tool_urlglob.c
b/src/tool_urlglob.c
index
4419cfa
..
6e4cdb0
100644
(file)
--- 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;