summaryrefslogtreecommitdiff
path: root/mpn/generic/mul_n.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpn/generic/mul_n.c')
-rw-r--r--mpn/generic/mul_n.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpn/generic/mul_n.c b/mpn/generic/mul_n.c
index 5bece91e7..e314ddd23 100644
--- a/mpn/generic/mul_n.c
+++ b/mpn/generic/mul_n.c
@@ -1326,9 +1326,9 @@ mpn_mul_n (p, a, b, n)
* multiplication will take much longer than malloc()/free(). */
mp_limb_t wsLen, *ws;
wsLen = 2 * n + 3 * BITS_PER_MP_LIMB;
- ws = (mp_ptr) (*_mp_allocate_func) ((size_t) wsLen * sizeof (mp_limb_t));
+ ws = (mp_ptr) (*__gmp_allocate_func) ((size_t) wsLen * sizeof (mp_limb_t));
mpn_toom3_mul_n (p, a, b, n, ws);
- (*_mp_free_func) (ws, (size_t) wsLen * sizeof (mp_limb_t));
+ (*__gmp_free_func) (ws, (size_t) wsLen * sizeof (mp_limb_t));
}
#if WANT_FFT || TUNE_PROGRAM_BUILD
else