]> granicus.if.org Git - curl/commitdiff
ldap.c: Fix compilation warning
authorSteve Holme <steve_holme@hotmail.com>
Tue, 10 Sep 2013 19:15:29 +0000 (20:15 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Tue, 10 Sep 2013 19:27:52 +0000 (20:27 +0100)
warning: comparison between signed and unsigned integer expressions

lib/ldap.c

index f14261ff49932d096d121bac25f306ea5809a5de..c2fa1735faf9f40487077962bdd7af3b81a541f6 100644 (file)
@@ -685,7 +685,7 @@ static int _ldap_url_parse (const struct connectdata *conn,
 
 static void _ldap_free_urldesc (LDAPURLDesc *ludp)
 {
-  int i;
+  size_t i;
 
   if(!ludp)
     return;