com php-src: Fix #64749 (warning: cast from pointer to integer of different size): Zend/zend_compile.c

From: Date: Sat, 04 May 2013 12:43:42 +0000
Subject: com php-src: Fix #64749 (warning: cast from pointer to integer of different size): Zend/zend_compile.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-72112@lists.php.net to get a copy of this message
Commit: 9155d17fefec7c2a71e1c0b8d8324d5e1fa43433 Author: Xinchen Hui <laruence@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)++); } /* }}} */

« previous php.cvs (#72112) next »