diff options
author | Torbjorn Granlund <tg@gmplib.org> | 2016-08-29 16:48:20 +0200 |
---|---|---|
committer | Torbjorn Granlund <tg@gmplib.org> | 2016-08-29 16:48:20 +0200 |
commit | 9deac7786c2eebbb7bdb805a544e7f7f0f3f86d3 (patch) | |
tree | ae5c0ede128c654a480e12668b60b5625b409854 /tal-reent.c | |
parent | d6b531d0501182336bed7d7c799fee506c756867 (diff) | |
download | gmp-9deac7786c2eebbb7bdb805a544e7f7f0f3f86d3.tar.gz |
Use __GMP_ALLOCATE_FUNC_TYPE and friends.
Diffstat (limited to 'tal-reent.c')
-rw-r--r-- | tal-reent.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |