diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-28 11:41:25 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-28 11:41:25 +0000 |
commit | c4a0a17df12c2bcc3777a846765982e94c2cc3bd (patch) | |
tree | cc90c35ac9ad4238ab6d7a8099c3d5a815dd9272 | |
parent | b73d7a44aa97a422f9a6781b87fb9a0f12b9b56b (diff) | |
download | ruby-c4a0a17df12c2bcc3777a846765982e94c2cc3bd.tar.gz |
refine previous change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | bignum.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |