summaryrefslogtreecommitdiff
path: root/Zend/zend_execute.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2014-07-15 15:51:40 +0400
committerDmitry Stogov <dmitry@zend.com>2014-07-15 15:51:40 +0400
commit8217e20ddb16303ca75cd61d9176e41e3b35edb3 (patch)
tree458dc80183204a835e5b225a342c45fc0cb8d4a4 /Zend/zend_execute.h
parentb4c2bd227743e4ab9d47bf624911b230b3237b51 (diff)
downloadphp-git-8217e20ddb16303ca75cd61d9176e41e3b35edb3.tar.gz
Fixed compilation warnings
Diffstat (limited to 'Zend/zend_execute.h')
-rw-r--r--Zend/zend_execute.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_execute.h b/Zend/zend_execute.h
index 717177a698..812d4141b4 100644
--- a/Zend/zend_execute.h
+++ b/Zend/zend_execute.h
@@ -167,8 +167,8 @@ struct _zend_vm_stack {
#define ZEND_VM_STACK_GROW_IF_NEEDED(count) \
do { \
if (UNEXPECTED(((count) * ZEND_MM_ALIGNED_SIZE(sizeof(zval))) > \
- ((char*)EG(argument_stack)->end) - \
- ((char*)EG(argument_stack)->top))) { \
+ (size_t)(((char*)EG(argument_stack)->end) - \
+ ((char*)EG(argument_stack)->top)))) { \
zend_vm_stack_extend((count) TSRMLS_CC); \
} \
} while (0)