]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
ldap.c: Fixed compilation warning
authorSteve Holme <steve_holme@hotmail.com>
Sun, 4 Jan 2015 15:16:04 +0000 (15:16 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 4 Jan 2015 15:16:21 +0000 (15:16 +0000)
ldap.c:802: warning: comparison between signed and unsigned integer
            expressions

lib/ldap.c

index a10094c779377553dd0fd3447a5d9d3cf3706178..680e4d774b86263c8604688fcc5233c824d5ed47 100644 (file)
@@ -710,7 +710,7 @@ static int _ldap_url_parse2 (const struct connectdata *conn, LDAPURLDesc *ludp)
   char *path;
   char *p;
   char *q;
-  int i;
+  size_t i;
 
   if(!conn->data ||
       !conn->data->state.path ||