summaryrefslogtreecommitdiff
path: root/Zend/zend_ptr_stack.h
diff options
context:
space:
mode:
authorArnaud Le Blanc <lbarnaud@php.net>2009-06-01 15:07:42 +0000
committerArnaud Le Blanc <lbarnaud@php.net>2009-06-01 15:07:42 +0000
commit2403a580112a921a46f0491ef38efa82703ea31e (patch)
tree3aa427a661b33d82b468cf804a30e22d5c2ae37f /Zend/zend_ptr_stack.h
parent083ed5b3e51c6380d6d239b9c4944d42a905bdac (diff)
downloadphp-git-2403a580112a921a46f0491ef38efa82703ea31e.tar.gz
MFH: better fix for #48409 , #48428 , #48228
Diffstat (limited to 'Zend/zend_ptr_stack.h')
-rw-r--r--Zend/zend_ptr_stack.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_ptr_stack.h b/Zend/zend_ptr_stack.h
index f20e3d91e8..fb613b88c7 100644
--- a/Zend/zend_ptr_stack.h
+++ b/Zend/zend_ptr_stack.h
@@ -81,7 +81,7 @@ static inline void zend_ptr_stack_2_push(zend_ptr_stack *stack, void *a, void *b
#undef ZEND_PTR_STACK_NUM_ARGS
}
-static inline void zend_ptr_stack_3_pop(zend_ptr_stack *stack, void **a, void **b, void **c)
+static inline void zend_ptr_stack_3_pop(zend_ptr_stack *stack, zend_alias *restrict a, zend_alias *restrict b, zend_alias *restrict c)
{
*a = *(--stack->top_element);
*b = *(--stack->top_element);
@@ -89,7 +89,7 @@ static inline void zend_ptr_stack_3_pop(zend_ptr_stack *stack, void **a, void **
stack->top -= 3;
}
-static inline void zend_ptr_stack_2_pop(zend_ptr_stack *stack, void **a, void **b)
+static inline void zend_ptr_stack_2_pop(zend_ptr_stack *stack, zend_alias *restrict a, zend_alias *restrict b)
{
*a = *(--stack->top_element);
*b = *(--stack->top_element);