summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bootstrap.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/bootstrap.c b/bootstrap.c
index ab349c70c..5f8ed72c7 100644
--- a/bootstrap.c
+++ b/bootstrap.c
@@ -140,13 +140,7 @@ mpz_invert_ui_2exp (mpz_t r, unsigned long a, unsigned long n)
{
mpz_t az;
- if (sizeof (mp_limb_t) == sizeof (unsigned long))
- mpz_invert_2exp (r, mpz_roinit_n (az, (mp_srcptr) &a, 1), n);
- else
- {
- mpz_init_set_ui (az, a);
- mpz_invert_2exp (r, az, n);
- mpz_clear (az);
- }
-
+ mpz_init_set_ui (az, a);
+ mpz_invert_2exp (r, az, n);
+ mpz_clear (az);
}