summaryrefslogtreecommitdiff
path: root/Zend/zend_ptr_stack.h
diff options
context:
space:
mode:
authorArnaud Le Blanc <lbarnaud@php.net>2009-06-05 11:21:31 +0000
committerArnaud Le Blanc <lbarnaud@php.net>2009-06-05 11:21:31 +0000
commit85b9327836d901adc1f66cca2a383f8c9a8f0eae (patch)
tree0c84a4b14aab9fcbcd739d536364074e0cf6b3a5 /Zend/zend_ptr_stack.h
parentfb86c3f7a271f7c0c42b3224cde2ab3240acbb45 (diff)
downloadphp-git-85b9327836d901adc1f66cca2a383f8c9a8f0eae.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 fb613b88c7..f20e3d91e8 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, zend_alias *restrict a, zend_alias *restrict b, zend_alias *restrict c)
+static inline void zend_ptr_stack_3_pop(zend_ptr_stack *stack, void **a, void **b, void **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, zend_alias *restr
stack->top -= 3;
}
-static inline void zend_ptr_stack_2_pop(zend_ptr_stack *stack, zend_alias *restrict a, zend_alias *restrict b)
+static inline void zend_ptr_stack_2_pop(zend_ptr_stack *stack, void **a, void **b)
{
*a = *(--stack->top_element);
*b = *(--stack->top_element);