]> granicus.if.org Git - curl/commitdiff
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 514cbd0dc356430f17ec66879e9e6a1f74350940..bd010e6dfbac21c6263741d1e32627935b3683eb 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;