Skip to content

Commit

Permalink
Fixed types that are assigned to opline_ptr. Not sure why it was whin…
Browse files Browse the repository at this point in the history
…ing without cast though
  • Loading branch information
derickr committed Aug 29, 2015
1 parent 7aa252c commit a3e9efb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xdebug_stack.c
Expand Up @@ -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

Expand Down

0 comments on commit a3e9efb

Please sign in to comment.