diff options
author | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2018-02-02 17:00:27 +0100 |
---|---|---|
committer | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2018-02-02 17:00:27 +0100 |
commit | c4672ef72dfba2ff34d1c887f72f97914cea95c8 (patch) | |
tree | abab1b48d5dc8f697df7b451667e07cc440c3da3 /printf | |
parent | 0b760cd98d21e5c54fa4ff3daf562c74d9663dc0 (diff) | |
download | gmp-c4672ef72dfba2ff34d1c887f72f97914cea95c8.tar.gz |
printf/snprntffuns.c: Use __GMP_FREE_FUNC_TYPE.
Diffstat (limited to 'printf')
-rw-r--r-- | printf/snprntffuns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/printf/snprntffuns.c b/printf/snprntffuns.c index 775d5f0be..d5d76a29f 100644 --- a/printf/snprntffuns.c +++ b/printf/snprntffuns.c @@ -102,7 +102,7 @@ gmp_snprintf_format (struct gmp_snprintf_t *d, const char *fmt, p = __GMP_ALLOCATE_FUNC_TYPE (alloc, char); va_copy (ap, orig_ap); ret = vsnprintf (p, alloc, fmt, ap); - (*__gmp_free_func) (p, alloc); + __GMP_FREE_FUNC_TYPE (p, alloc, char); } while (ret == alloc-1 || ret == -1); |