From 9deac7786c2eebbb7bdb805a544e7f7f0f3f86d3 Mon Sep 17 00:00:00 2001 From: Torbjorn Granlund Date: Mon, 29 Aug 2016 16:48:20 +0200 Subject: Use __GMP_ALLOCATE_FUNC_TYPE and friends. --- tal-reent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tal-reent.c') diff --git a/tal-reent.c b/tal-reent.c index 92f516b5f..7818af825 100644 --- a/tal-reent.c +++ b/tal-reent.c @@ -61,7 +61,7 @@ __gmp_tmp_reentrant_alloc (struct tmp_reentrant_t **markp, size_t size) #define P ((struct tmp_reentrant_t *) p) total_size = size + HSIZ; - p = (char *) (*__gmp_allocate_func) (total_size); + p = __GMP_ALLOCATE_FUNC_TYPE (total_size, char); P->size = total_size; P->next = *markp; *markp = P; -- cgit v1.2.1