diff options
Diffstat (limited to 'Zend/zend_ptr_stack.c')
-rw-r--r-- | Zend/zend_ptr_stack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_ptr_stack.c b/Zend/zend_ptr_stack.c index 033743d967..3048d99c2a 100644 --- a/Zend/zend_ptr_stack.c +++ b/Zend/zend_ptr_stack.c @@ -73,7 +73,7 @@ ZEND_API inline void zend_ptr_stack_n_pop(zend_ptr_stack *stack, int count,...) va_start(ptr, count); while (count>0) { elem = va_arg(ptr, void **); - *elem = *(stack->top_element--); + *elem = *(--stack->top_element); stack->top--; count--; } |