diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-07 03:28:57 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-07 03:28:57 +0000 |
commit | ba8006533c1efec720ea767a1d4bc630fed24872 (patch) | |
tree | b977bc9b9638bb5c121a6b5220e5bf4766a855e5 /hash.c | |
parent | 2fa7cd751e6128733302dd91e06e91a460326a6a (diff) |
add cast
* hash.c (rb_objid_hash): need to cast down.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -271,7 +271,7 @@ key64_hash (uint64_t key, uint32_t seed) long rb_objid_hash(st_index_t index) { - return key64_hash(index, (uint32_t) prime2); + return (long)key64_hash(index, (uint32_t)prime2); } static st_index_t |