summaryrefslogtreecommitdiff
path: root/mpz/iset_ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpz/iset_ui.c')
-rw-r--r--mpz/iset_ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/iset_ui.c b/mpz/iset_ui.c
index b85748b81..062bab043 100644
--- a/mpz/iset_ui.c
+++ b/mpz/iset_ui.c
@@ -33,7 +33,7 @@ mpz_init_set_ui (x, val)
#endif
{
x->_mp_alloc = 1;
- x->_mp_d = (mp_ptr) (*_mp_allocate_func) (BYTES_PER_MP_LIMB);
+ x->_mp_d = (mp_ptr) (*__gmp_allocate_func) (BYTES_PER_MP_LIMB);
x->_mp_d[0] = val;
x->_mp_size = val != 0;
}