+2011-05-24 Paul Eggert <eggert@cs.ucla.edu>
+
+ * data.c (arith_driver, Flsh): Avoid unnecessary casts to EMACS_UINT.
+
2011-05-23 Paul Eggert <eggert@cs.ucla.edu>
* ccl.c (ccl_driver): Redo slightly to avoid the need for 'unsigned'.
case Amult:
if (INT_MULTIPLY_OVERFLOW (accum, next))
{
+ EMACS_UINT a = accum, b = next, ab = a * b;
overflow = 1;
- accum = (EMACS_UINT) accum * (EMACS_UINT) next & INTMASK;
+ accum = ab & INTMASK;
}
else
accum *= next;
if (XINT (count) >= BITS_PER_EMACS_INT)
XSETINT (val, 0);
else if (XINT (count) > 0)
- XSETINT (val, (EMACS_UINT) XUINT (value) << XFASTINT (count));
+ XSETINT (val, XUINT (value) << XFASTINT (count));
else if (XINT (count) <= -BITS_PER_EMACS_INT)
XSETINT (val, 0);
else
- XSETINT (val, (EMACS_UINT) XUINT (value) >> -XINT (count));
+ XSETINT (val, XUINT (value) >> -XINT (count));
return val;
}