diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-01-31 15:53:03 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-02-06 11:46:51 +0900 |
commit | ce4ea956d24eab5089a143bba38126f2b11b55b6 (patch) | |
tree | 3754a8344a7d9c66095c0b6dc34651112274cd9a /mjit.c | |
parent | b223a78a71b9f000315d70987d600661420f9475 (diff) |
function pointers are not void*
The same as 8427fca49bd85205f5a8766292dd893f003c0e48.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2885
Diffstat (limited to 'mjit.c')
-rw-r--r-- | mjit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -464,7 +464,7 @@ rb_mjit_recompile_iseq(const rb_iseq_t *iseq) CRITICAL_SECTION_START(3, "in rb_mjit_recompile_iseq"); remove_from_list(iseq->body->jit_unit, &active_units); - iseq->body->jit_func = (void *)NOT_ADDED_JIT_ISEQ_FUNC; + iseq->body->jit_func = (mjit_func_t)NOT_ADDED_JIT_ISEQ_FUNC; add_to_list(iseq->body->jit_unit, &stale_units); CRITICAL_SECTION_FINISH(3, "in rb_mjit_recompile_iseq"); |