summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2013-05-04 20:42:50 +0800
committerXinchen Hui <laruence@php.net>2013-05-04 20:43:42 +0800
commit9155d17fefec7c2a71e1c0b8d8324d5e1fa43433 (patch)
tree77f830e63c0903b18cac8a1ddc78de0c096bdd11
parentb2ef8672c76159b20b50a78d1e7b30f8f4945958 (diff)
downloadphp-git-9155d17fefec7c2a71e1c0b8d8324d5e1fa43433.tar.gz
Fix #64749 (warning: cast from pointer to integer of different size)
-rw-r--r--Zend/zend_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index 3c0d753b66..862f82da01 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)++);
}
/* }}} */