Skip to content

Commit 2c388a4

Browse files
committed
- Fixed warnings (Kalle)
1 parent 9e76501 commit 2c388a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_execute.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ static inline void *zend_vm_stack_alloc(size_t size TSRMLS_DC)
228228
int extra = (ZEND_MM_ALIGNMENT - ((zend_uintptr_t)EG(argument_stack)->top & (ZEND_MM_ALIGNMENT - 1))) / sizeof(void*);
229229

230230
if (UNEXPECTED(size + extra + ZEND_MM_ALIGNED_SIZE(sizeof(void*)) / sizeof(void*) >
231-
EG(argument_stack)->end - EG(argument_stack)->top)) {
231+
(zend_uintptr_t)EG(argument_stack)->end - (zend_uintptr_t)EG(argument_stack)->top)) {
232232
zend_vm_stack_extend(size TSRMLS_CC);
233233
} else {
234234
void **old_top = EG(argument_stack)->top;

0 commit comments

Comments
 (0)