diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-02 06:41:41 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-02 06:41:41 +0000 |
commit | a23c768b21e8f043340e9f417c07ad727d7744af (patch) | |
tree | f84d3373f40865c093cdf20901b0280607a2b700 /compile.c | |
parent | f1f79b00621b683fe68c98a1c8af03327b67278f (diff) | |
download | ruby-a23c768b21e8f043340e9f417c07ad727d7744af.tar.gz |
rb_insn_func_t is incompatible with void*
Why not just use void* ?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7205,7 +7205,7 @@ insn_data_to_s_detail(INSN *iobj) break; case TS_FUNCPTR: { - rb_insn_func_t func = (rb_insn_func_t)OPERAND_AT(iobj, j); + const void *func = (const void *)OPERAND_AT(iobj, j); #ifdef HAVE_DLADDR Dl_info info; if (dladdr(func, &info) && info.dli_sname) { |