Fix wrong conversion in disasm dump
`LINK_ELEMENT::type` is an `enum` not a `VALUE`, `FIX2LONG` doesn't make sense.
This commit is contained in:
parent
83a99bdbe6
commit
5f1eb0dc79
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user