diff options
author | Nobuyoshi Nakada <[email protected]> | 2024-07-26 11:24:53 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2024-07-26 11:24:53 +0900 |
commit | 5f1eb0dc79bfa6a111c85831636f8d4473f1414c (patch) | |
tree | 8a6bdd4eb77ed847533406fe5dd34e19113ea054 /compile.c | |
parent | 83a99bdbe606d3e50fbaa7ea3e260d01c2b76fc8 (diff) |
Fix wrong conversion in disasm dump
`LINK_ELEMENT::type` is an `enum` not a `VALUE`, `FIX2LONG` doesn't
make sense.
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11326,7 +11326,7 @@ dump_disasm_list_with_cursor(const LINK_ELEMENT *link, const LINK_ELEMENT *curr, } default: /* ignore */ - rb_raise(rb_eSyntaxError, "dump_disasm_list error: %ld\n", FIX2LONG(link->type)); + rb_raise(rb_eSyntaxError, "dump_disasm_list error: %d\n", (int)link->type); } link = link->next; } |