summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Faulds <ajf@ajf.me>2014-08-27 02:05:50 +0100
committerAndrea Faulds <ajf@ajf.me>2014-08-27 02:05:50 +0100
commit7379abba8f134abfbc1a349e39a3658b455617f2 (patch)
treec5ff228942e4bce6eed2ff005bdb9a993d4c2803
parent17c5e82816558edddc623d6d9c401535096f29be (diff)
downloadphp-git-7379abba8f134abfbc1a349e39a3658b455617f2.tar.gz
Fixed Closure::apply() for int64
-rw-r--r--Zend/zend_closures.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_closures.c b/Zend/zend_closures.c
index c0df245c17..946085f92f 100644
--- a/Zend/zend_closures.c
+++ b/Zend/zend_closures.c
@@ -28,6 +28,7 @@
#include "zend_objects.h"
#include "zend_objects_API.h"
#include "zend_globals.h"
+#include "php_stdint.h"
#define ZEND_CLOSURE_PRINT_NAME "Closure object"
@@ -75,7 +76,7 @@ ZEND_METHOD(Closure, call) /* {{{ */
zend_fcall_info fci;
zend_fcall_info_cache fci_cache;
zval *my_params;
- zend_uint my_param_count = 0;
+ uint32_t 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) {