diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-22 09:47:34 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-22 09:47:34 +0000 |
commit | 3738fe3333e614afba407e64aded6535a09856cc (patch) | |
tree | 48affa2e12a107e94b6164de6358eb2b765ccf46 /ext/objspace | |
parent | 70038431e7a83a46e83947f6874889d6b0b30193 (diff) | |
download | ruby-3738fe3333e614afba407e64aded6535a09856cc.tar.gz |
* 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
Diffstat (limited to 'ext/objspace')
-rw-r--r-- | ext/objspace/objspace_dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/objspace/objspace_dump.c b/ext/objspace/objspace_dump.c index 3b73b81499..a3f637b543 100644 --- a/ext/objspace/objspace_dump.c +++ b/ext/objspace/objspace_dump.c @@ -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: |