1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* variable.c: use uint32_t instead of long to avoid confusion about

the type of ivtbl->numiv.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2016-04-22 09:47:34 +00:00
parent 70038431e7
commit 3738fe3333
7 changed files with 42 additions and 39 deletions

View file

@ -272,7 +272,7 @@ dump_object(VALUE obj, struct dump_config *dc)
break;
case T_OBJECT:
dump_append(dc, ", \"ivars\":%ld", ROBJECT_NUMIV(obj));
dump_append(dc, ", \"ivars\":%u", ROBJECT_NUMIV(obj));
break;
case T_FILE: