Skip to content

Commit 39ca606

Browse files
committed
fix compiler warning
1 parent 71cae13 commit 39ca606

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routine.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ static inline zend_result pmmpthread_routine_run_function(pmmpthread_zend_object
4646
//fake stack frame to make sure zend_call_function() doesn't swallow exceptions
4747
//we need to be able to pass them to the user exception handler if there is one
4848
memset(&execute_data, 0, sizeof(execute_data));
49-
execute_data.func = &zend_pass_function;
49+
execute_data.func = (zend_function*) & zend_pass_function;
5050

5151
if (pmmpthread_monitor_check(&connection->ts_obj->monitor, PMMPTHREAD_MONITOR_ERROR)) {
5252
return result;

0 commit comments

Comments
 (0)