Commit 395fcb93 authored by Paul Eggert's avatar Paul Eggert

* floatfns.c (Fexpt): Omit unnecessary cast to unsigned.

parent 327eeec8
2011-06-13 Paul Eggert <eggert@cs.ucla.edu>
* floatfns.c (Fexpt):
* fileio.c (make_temp_name): Omit unnecessary cast to unsigned.
* editfns.c (Ftranslate_region_internal): Use int, not EMACS_INT
......
......@@ -507,7 +507,7 @@ DEFUN ("expt", Fexpt, Sexpt, 2, 2, 0,
if (y & 1)
acc *= x;
x *= x;
y = (unsigned)y >> 1;
y >>= 1;
}
}
XSETINT (val, acc);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment