]> granicus.if.org Git - php/commitdiff
size_t -> int
authorAntony Dovgal <tony2001@php.net>
Thu, 3 Jul 2008 14:00:20 +0000 (14:00 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 3 Jul 2008 14:00:20 +0000 (14:00 +0000)
ext/standard/string.c

index 44bdeb8eacc3b78d0fc4b50a8de432ac8ac05dcd..691dd85cf88ee0cbfe9451b7366c76fb26048e39 100644 (file)
@@ -183,7 +183,8 @@ PHP_MSHUTDOWN_FUNCTION(localeconv)
 PHP_FUNCTION(bin2hex)
 {
        char *result, *data;
-       size_t newlen, datalen;
+       size_t newlen;
+       int datalen;
 
        if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &data, &datalen) == FAILURE) {
                return;