File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ __MCF_c11_thread_thunk_v2(_MCF_thread* thrd)
19
19
__MCF_c11_thread_record * rec = _MCF_thread_get_data (thrd );
20
20
21
21
/* Invoke the user-defined procedure and save its result in the record. */
22
- rec -> __result = rec -> __proc (rec -> __arg );
22
+ rec -> __result = ( * ( rec -> __proc )) (rec -> __arg );
23
23
}
24
24
25
25
__MCF_DLLEXPORT
Original file line number Diff line number Diff line change @@ -301,5 +301,5 @@ __MCF_gthr_thread_thunk_v2(_MCF_thread* thrd)
301
301
__MCF_gthr_thread_record * rec = _MCF_thread_get_data (thrd );
302
302
303
303
/* Invoke the user-defined procedure and save its result in the record. */
304
- rec -> __result = rec -> __proc (rec -> __arg );
304
+ rec -> __result = ( * ( rec -> __proc )) (rec -> __arg );
305
305
}
You can’t perform that action at this time.
0 commit comments