1
0
Fork 0
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:
Koichi Sasada 2020-03-11 02:55:07 +09:00
parent 2943ff9d44
commit d05455d083

2
gc.c
View file

@ -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 {