aboutsummaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index 2a5b010f66..b5da3b756f 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, &ul, 1, sizeof(ul), 0,
+ sign = rb_integer_pack(hval, &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)