summaryrefslogtreecommitdiff
path: root/mpf/get_str.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpf/get_str.c')
-rw-r--r--mpf/get_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpf/get_str.c b/mpf/get_str.c
index 682819daa..0bfd99fe4 100644
--- a/mpf/get_str.c
+++ b/mpf/get_str.c
@@ -170,7 +170,7 @@ mpf_get_str (char *dbuf, mp_exp_t *exp, int base, size_t n_digits, mpf_srcptr u)
/* We didn't get a string from the user. Allocate one (and return
a pointer to it) with space for `-' and terminating null. */
alloc_size = n_digits + 2;
- dbuf = (char *) (*__gmp_allocate_func) (n_digits + 2);
+ dbuf = __GMP_ALLOCATE_FUNC_TYPE (n_digits + 2, char);
}
if (un == 0)