From 03ba4ba37ee4504a6308b69a0b20abdbe3c38d93 Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Tue, 20 Jan 2015 23:00:40 -0800 Subject: [PATCH] int -> size_t and fix the variable name --- ext/ldap/ldap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.40.0