From 837392b45260785a8ccc13aceba5be90e067a974 Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 9 Jun 2013 05:53:00 +0000 Subject: * bignum.c (rb_integer_pack): numwords_allocated argument removed. * internal.h (rb_integer_pack): Follow the above change. * hash.c (rb_hash): Ditto. * time.c (v2w_bignum): Ditto. * pack.c (pack_pack): Ditto. * random.c (int_pair_to_real_inclusive): Ditto. (rand_init): Ditto. (random_load): Ditto. (limited_big_rand): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hash.c') diff --git a/hash.c b/hash.c index cc50a64f52..2a5b010f66 100644 --- a/hash.c +++ b/hash.c @@ -92,7 +92,7 @@ rb_hash(VALUE obj) { int sign; unsigned long ul; - rb_integer_pack(hval, &sign, NULL, &ul, 1, sizeof(ul), 0, + rb_integer_pack(hval, &sign, &ul, 1, sizeof(ul), 0, INTEGER_PACK_LSWORD_FIRST|INTEGER_PACK_NATIVE_BYTE_ORDER); ul &= (1UL << (sizeof(long)*CHAR_BIT-1)) - 1; if (sign < 0) -- cgit v1.2.3