s3:lib: Fix size types in tldap_find_first_star()
[samba.git] / source3 / lib / tldap.c
index 205a9cf2b06d83a29f7386e3b27209a72e0c05a9..bfb24ee8661097b39497fb600fcbf240b03c4210 100644 (file)
@@ -1262,7 +1262,8 @@ static bool tldap_find_first_star(const char *val, const char **star)
 
 static bool tldap_unescape_inplace(char *value, size_t *val_len)
 {
-       int c, i, p;
+       int c;
+       size_t i, p;
 
        for (i = 0,p = 0; i < *val_len; i++) {