diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2019-08-27 14:05:20 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2019-08-27 14:05:20 +0900 |
commit | d53b669948af29ca086d915c8bded0d1963e2c98 (patch) | |
tree | 189bcfaeaddf6f5680642afe1d05d1f92d1ccd63 /compile.c | |
parent | 8eee3f3a3623d728c160c41546513594793fb7fb (diff) |
compile.c: remove const from the first argument of dladdr
Unfortunately, dladdr accepts void*, not const void*, in Solaris.
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8281,7 +8281,7 @@ insn_data_to_s_detail(INSN *iobj) break; case TS_FUNCPTR: { - const void *func = (const void *)OPERAND_AT(iobj, j); + void *func = (void *)OPERAND_AT(iobj, j); #ifdef HAVE_DLADDR Dl_info info; if (dladdr(func, &info) && info.dli_sname) { |