diff --git a/lib/url.c b/lib/url.c index 514cbd0dc356430f17ec66879e9e6a1f74350940..bd010e6dfbac21c6263741d1e32627935b3683eb 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;