summaryrefslogtreecommitdiff
path: root/mpq/set_str.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpq/set_str.c')
-rw-r--r--mpq/set_str.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpq/set_str.c b/mpq/set_str.c
index 930fe5576..24cc83a19 100644
--- a/mpq/set_str.c
+++ b/mpq/set_str.c
@@ -1,6 +1,6 @@
/* mpq_set_str -- string to mpq conversion.
-Copyright 2001, 2002 Free Software Foundation, Inc.
+Copyright 2001, 2002, 2015 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -60,7 +60,7 @@ mpq_set_str (mpq_ptr q, const char *str, int base)
memcpy (num, str, numlen);
num[numlen] = '\0';
ret = mpz_set_str (mpq_numref(q), num, base);
- (*__gmp_free_func) (num, numlen+1);
+ __GMP_FREE_FUNC_TYPE (num, numlen+1, char);
if (ret != 0)
return ret;