mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
ext/ldap: Use size_t type instead of int type
This commit is contained in:
@@ -719,15 +719,13 @@ failure:
|
||||
zend_string_release(tmpstring);
|
||||
}
|
||||
if (tmpstrings1 != NULL) {
|
||||
int i;
|
||||
for (i = 0; i < num_tmpstrings1; ++i) {
|
||||
for (size_t i = 0; i < num_tmpstrings1; ++i) {
|
||||
zend_string_release(tmpstrings1[i]);
|
||||
}
|
||||
efree(tmpstrings1);
|
||||
}
|
||||
if (tmpstrings2 != NULL) {
|
||||
int i;
|
||||
for (i = 0; i < num_tmpstrings2; ++i) {
|
||||
for (size_t i = 0; i < num_tmpstrings2; ++i) {
|
||||
zend_string_release(tmpstrings2[i]);
|
||||
}
|
||||
efree(tmpstrings2);
|
||||
|
||||
Reference in New Issue
Block a user