New primitive secure-hash supporting md5, sha-1 and sha-2
[bpt/emacs.git] / src / floatfns.c
index 1232fc0..b5c8b4a 100644 (file)
@@ -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);