From: Daniel Stenberg Date: Tue, 23 Apr 2002 14:57:37 +0000 (+0000) Subject: removed warning about signed/unsigned comparison X-Git-Tag: curl-7_9_7-pre2~52 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b9ef8dfc882ee64075aaaf46b4015071dd7ed52;p=curl removed warning about signed/unsigned comparison --- 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;