diff options
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); |