summaryrefslogtreecommitdiff
path: root/mpz/kronsz.c
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2000-05-21 03:35:03 +0200
committerKevin Ryde <user42@zip.com.au>2000-05-21 03:35:03 +0200
commitac433e15765836f0dcc9369f35644b146683de1e (patch)
tree361e6482b88e652f144b33ffb88dcb55235299d6 /mpz/kronsz.c
parentbf0b8f4c7770a468725ae72ffabcf3fb172b33b0 (diff)
downloadgmp-ac433e15765836f0dcc9369f35644b146683de1e.tar.gz
A cast isn't an lvalue.
Diffstat (limited to 'mpz/kronsz.c')
-rw-r--r--mpz/kronsz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/kronsz.c b/mpz/kronsz.c
index 2c1355750..af98505e4 100644
--- a/mpz/kronsz.c
+++ b/mpz/kronsz.c
@@ -115,7 +115,7 @@ mpz_kronecker_si_zi (a, b)
if ((a & 1) == 0)
{
count_trailing_zeros (twos, a);
- ((unsigned long) a) >>= twos;
+ a = ((unsigned long) a) >> twos;
result_bit1 ^= JACOBI_TWOS_U_BIT1 (twos, b_low);
}