summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r--Zend/zend_execute_API.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index 8b1cb6f3e0..a8f5b58304 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -309,7 +309,7 @@ ZEND_API int zend_is_true(zval *op)
ZEND_API int zval_update_constant(zval **pp, void *arg)
{
zval *p = *pp;
- zend_bool inline_change = (zend_bool) arg;
+ zend_bool inline_change = (zend_bool) (unsigned long) arg;
if (p->type == IS_CONSTANT) {
zval c;