diff options
| author | Rasmus Lerdorf <rasmus@lerdorf.com> | 2015-01-20 23:00:40 -0800 |
|---|---|---|
| committer | Rasmus Lerdorf <rasmus@lerdorf.com> | 2015-01-20 23:00:40 -0800 |
| commit | 03ba4ba37ee4504a6308b69a0b20abdbe3c38d93 (patch) | |
| tree | b5087964e5a98c3c10c194ea549cf84abb24370e | |
| parent | 030b4b29db60c4e28b1a26e5f2e2f79f27333eb0 (diff) | |
| download | php-git-03ba4ba37ee4504a6308b69a0b20abdbe3c38d93.tar.gz | |
int -> size_t
and fix the variable name
| -rw-r--r-- | ext/ldap/ldap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c index 4890f705e3..0d0f6d4301 100644 --- a/ext/ldap/ldap.c +++ b/ext/ldap/ldap.c @@ -2588,7 +2588,8 @@ PHP_FUNCTION(ldap_escape) static void php_ldap_do_translate(INTERNAL_FUNCTION_PARAMETERS, int way) { char *value; - int result, ldap_len; + size_t value_len; + int result; if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &value, &value_len) != SUCCESS) { return; |
