From a3e9efbdccc2678a75e6dcf0cfac6e7b5cae6405 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Sat, 29 Aug 2015 12:39:39 +0100 Subject: [PATCH] Fixed types that are assigned to opline_ptr. Not sure why it was whining without cast though --- xdebug_stack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xdebug_stack.c b/xdebug_stack.c index c55dc3a3f..5517a486f 100644 --- a/xdebug_stack.c +++ b/xdebug_stack.c @@ -1168,11 +1168,11 @@ function_stack_entry *xdebug_add_stack_frame(zend_execute_data *zdata, zend_op_a if (type == XDEBUG_EXTERNAL) { edata = EG(current_execute_data)->prev_execute_data; if (edata) { - opline_ptr = &edata->opline; + opline_ptr = (zend_op**) &edata->opline; } } else { edata = EG(current_execute_data); - opline_ptr = &EG(current_execute_data)->opline; + opline_ptr = (zend_op**) &EG(current_execute_data)->opline; } #endif