]> granicus.if.org Git - php/commitdiff
It should be int
authorXinchen Hui <laruence@php.net>
Wed, 27 Aug 2014 04:14:17 +0000 (12:14 +0800)
committerXinchen Hui <laruence@php.net>
Wed, 27 Aug 2014 04:14:57 +0000 (12:14 +0800)
Zend/zend_closures.c

index 1fa6dce21c3616865ff843a6d51f66cccfef181a..c8497a4f2d502ae18a39b6b087845bbdb12d4dd5 100644 (file)
@@ -28,7 +28,6 @@
 #include "zend_objects.h"
 #include "zend_objects_API.h"
 #include "zend_globals.h"
-#include "php_stdint.h"
 
 #define ZEND_CLOSURE_PRINT_NAME "Closure object"
 
@@ -76,7 +75,7 @@ ZEND_METHOD(Closure, call)
        zend_fcall_info fci;
        zend_fcall_info_cache fci_cache;
        zval *my_params;
-       uint32_t my_param_count = 0;
+       int my_param_count = 0;
        zend_function my_function;
 
        if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o*", &newthis, &my_params, &my_param_count) == FAILURE) {