diff options
| author | Paul Eggert | 2011-06-12 19:27:16 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-06-12 19:27:16 -0700 |
| commit | 395fcb936ef44b658b396802db194b030b003c8c (patch) | |
| tree | f3cc0913738df81097aa98e5f4491afded5525f0 /src/floatfns.c | |
| parent | 327eeec881297db159549c8e03d36d8e3b7d37ea (diff) | |
| download | emacs-395fcb936ef44b658b396802db194b030b003c8c.tar.gz emacs-395fcb936ef44b658b396802db194b030b003c8c.zip | |
* floatfns.c (Fexpt): Omit unnecessary cast to unsigned.
Diffstat (limited to 'src/floatfns.c')
| -rw-r--r-- | src/floatfns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/floatfns.c b/src/floatfns.c index 1232fc0afa1..b5c8b4af5c3 100644 --- a/src/floatfns.c +++ b/src/floatfns.c | |||
| @@ -507,7 +507,7 @@ DEFUN ("expt", Fexpt, Sexpt, 2, 2, 0, | |||
| 507 | if (y & 1) | 507 | if (y & 1) |
| 508 | acc *= x; | 508 | acc *= x; |
| 509 | x *= x; | 509 | x *= x; |
| 510 | y = (unsigned)y >> 1; | 510 | y >>= 1; |
| 511 | } | 511 | } |
| 512 | } | 512 | } |
| 513 | XSETINT (val, acc); | 513 | XSETINT (val, acc); |