Simplification for s48_extract_unsigned_integer.
This commit is contained in:
parent
7906942942
commit
19ed629222
|
@ -835,7 +835,7 @@ s48_extract_unsigned_integer(s48_value value)
|
|||
(! S48_FIXNUM_P(boxed_high)) ||
|
||||
(high > 0xFFFF))
|
||||
s48_raise_argtype_error(value);
|
||||
else return (- (((- high) << 16) - low));
|
||||
else return ((((unsigned long) high) << 16) + low);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue