removed warning about signed/unsigned comparison
authorDaniel Stenberg <daniel@haxx.se>
Tue, 23 Apr 2002 14:57:37 +0000 (14:57 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 23 Apr 2002 14:57:37 +0000 (14:57 +0000)
lib/url.c

index 514cbd0..bd010e6 100644 (file)
--- 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;