Fixed bug in s48_enter_unsigned_integer.

This commit is contained in:
mainzelm 2001-06-07 17:44:59 +00:00
parent a07f23d328
commit fd07c36a40
1 changed files with 3 additions and 3 deletions

View File

@ -742,9 +742,9 @@ s48_enter_unsigned_integer(unsigned long value)
return s48_call_scheme(S48_SHARED_BINDING_REF(long_to_bignum_binding),
3,
S48_TRUE,
S48_UNSAFE_ENTER_FIXNUM((- value) >> 16),
S48_UNSAFE_ENTER_FIXNUM((- value) & 0xFFFF));
S48_FALSE, // this is ok
S48_UNSAFE_ENTER_FIXNUM(value >> 16),
S48_UNSAFE_ENTER_FIXNUM(value & 0xFFFF));
}
}