mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix type cast
This commit is contained in:
parent
2943ff9d44
commit
d05455d083
1 changed files with 1 additions and 1 deletions
2
gc.c
2
gc.c
|
@ -11666,7 +11666,7 @@ rb_raw_obj_info(char *buff, const int buff_size, VALUE obj)
|
||||||
|
|
||||||
if (me->def->type == VM_METHOD_TYPE_ISEQ) {
|
if (me->def->type == VM_METHOD_TYPE_ISEQ) {
|
||||||
// APPENDF((BUFF_ARGS, " (iseq:%p)", (void *)me->def->body.iseq.iseqptr));
|
// APPENDF((BUFF_ARGS, " (iseq:%p)", (void *)me->def->body.iseq.iseqptr));
|
||||||
APPENDF((BUFF_ARGS, " (iseq:%s)", obj_info(me->def->body.iseq.iseqptr)));
|
APPENDF((BUFF_ARGS, " (iseq:%s)", obj_info((VALUE)me->def->body.iseq.iseqptr)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue