mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
refine previous change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b73d7a44aa
commit
c4a0a17df1
1 changed files with 1 additions and 1 deletions
2
bignum.c
2
bignum.c
|
@ -2029,7 +2029,7 @@ rb_big_hash(VALUE x)
|
|||
{
|
||||
int hash;
|
||||
|
||||
hash = rb_memhash(BDIGITS(x), sizeof(*BDIGITS(x))*RBIGNUM(x)->len) ^ RBIGNUM(x)->sign;
|
||||
hash = rb_memhash(BDIGITS(x), sizeof(BDIGIT)*RBIGNUM(x)->len) ^ RBIGNUM(x)->sign;
|
||||
return INT2FIX(hash);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue