From: Andrea Faulds Date: Wed, 27 Aug 2014 01:05:50 +0000 (+0100) Subject: Fixed Closure::apply() for int64 X-Git-Tag: PRE_PHP7_REMOVALS~279^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7379abba8f134abfbc1a349e39a3658b455617f2;p=php Fixed Closure::apply() for int64 --- 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) {