com php-src: Fixed Closure::apply() for int64: Zend/zend_clos ures.c
| From: | Tjerk Anne Meesters | Date: | Wed, 27 Aug 2014 01:05:50 +0000 |
| Subject: | com php-src: Fixed Closure::apply() for int64: Zend/zend_clos ures.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81151@lists.php.net to get a copy of this message | ||
Commit: 7379abba8f134abfbc1a349e39a3658b455617f2
Author: Andrea Faulds <ajf@ajf.me> Wed, 27 Aug 2014 02:05:50 +0100
Parents: 17c5e82816558edddc623d6d9c401535096f29be
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7379abba8f134abfbc1a349e39a3658b455617f2
Log:
Fixed Closure::apply() for int64
Changed paths:
M Zend/zend_closures.c
Diff:
diff --git a/Zend/zend_closures.c b/Zend/zend_closures.c
index c0df245..946085f 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) {