diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-04-08 05:06:43 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-04-08 05:06:43 +0000 |
commit | 7a4c39c5f25c7bed475f65e45c76a646ad993d8b (patch) | |
tree | 7ef9f1fb6b8f97fe58efe093d8a928ddefe8dc42 /struct.c | |
parent | b29f55c5acc4addabc7ffa94e022e40b36255abb (diff) | |
download | ruby-7a4c39c5f25c7bed475f65e45c76a646ad993d8b.tar.gz |
struct.c: force hash values fixable
* struct.c (rb_struct_hash): force hash values fixable on LLP64
environment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'struct.c')
-rw-r--r-- | struct.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1202,7 +1202,7 @@ rb_struct_hash(VALUE s) h = rb_hash_uint(h, NUM2LONG(n)); } h = rb_hash_end(h); - return INT2FIX(h); + return ST2FIX(h); } static VALUE |