ruby-changes:60359
From: Koichi <ko1@a...>
Date: Wed, 11 Mar 2020 02:55:38 +0900 (JST)
Subject: [ruby-changes:60359] d05455d083 (master): fix type cast
https://git.ruby-lang.org/ruby.git/commit/?id=d05455d083 From d05455d08374b795b079f3ceaf034f2be1f11a08 Mon Sep 17 00:00:00 2001 From: Koichi Sasada <ko1@a...> Date: Wed, 11 Mar 2020 02:55:07 +0900 Subject: fix type cast diff --git a/gc.c b/gc.c index db840f1..1840edb 100644 --- a/gc.c +++ b/gc.c @@ -11666,7 +11666,7 @@ rb_raw_obj_info(char *buff, const int buff_size, VALUE obj) https://github.com/ruby/ruby/blob/trunk/gc.c#L11666 if (me->def->type == VM_METHOD_TYPE_ISEQ) { // 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 { -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/