com php-src: int -> size_t and fix the variable nam e: ext/ldap/ldap.c
| From: | Rasmus Lerdorf | Date: | Wed, 21 Jan 2015 07:00:40 +0000 |
| Subject: | com php-src: int -> size_t and fix the variable nam e: ext/ldap/ldap.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84253@lists.php.net to get a copy of this message | ||
Commit: 03ba4ba37ee4504a6308b69a0b20abdbe3c38d93
Author: Rasmus Lerdorf <rasmus@lerdorf.com> Tue, 20 Jan 2015 23:00:40 -0800
Parents: 030b4b29db60c4e28b1a26e5f2e2f79f27333eb0
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=03ba4ba37ee4504a6308b69a0b20abdbe3c38d93
Log:
int -> size_t
and fix the variable name
Changed paths:
M ext/ldap/ldap.c
Diff:
diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c
index 4890f70..0d0f6d4 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;