aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-04-23 14:57:37 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-04-23 14:57:37 +0000
commit3b9ef8dfc882ee64075aaaf46b4015071dd7ed52 (patch)
treebbb8aa99f8a7ba73adf04661a0300a2b88b1f637
parentdb6d4bcf47513bb6c1aaf50dae7cd3c19ae5f901 (diff)
removed warning about signed/unsigned comparison
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 514cbd0dc..bd010e6df 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -1611,7 +1611,7 @@ static CURLcode CreateConnection(struct SessionHandle *data,
nope=no_proxy?strtok_r(no_proxy, ", ", &no_proxy_tok_buf):NULL;
while(nope) {
- int namelen;
+ unsigned int namelen;
char *endptr = strchr(conn->name, ':');
if(endptr)
namelen=endptr-conn->name;