Commit: 9155d17fefec7c2a71e1c0b8d8324d5e1fa43433 Author: Xinchen Hui <larue...@php.net> Sat, 4 May 2013 20:42:50 +0800 Parents: b2ef8672c76159b20b50a78d1e7b30f8f4945958 Branches: PHP-5.5
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9155d17fefec7c2a71e1c0b8d8324d5e1fa43433 Log: Fix #64749 (warning: cast from pointer to integer of different size) Bugs: https://bugs.php.net/64749 Changed paths: M Zend/zend_compile.c Diff: diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 3c0d753..862f82d 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -288,7 +288,7 @@ ZEND_API zend_bool zend_is_compiling(TSRMLS_D) /* {{{ */ static zend_uint get_temporary_variable(zend_op_array *op_array) /* {{{ */ { - return (zend_uint)EX_TMP_VAR_NUM(0, (op_array->T)++); + return (zend_uint)(zend_uintptr_t)EX_TMP_VAR_NUM(0, (op_array->T)++); } /* }}} */ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php