summaryrefslogtreecommitdiff
path: root/tal-reent.c
diff options
context:
space:
mode:
Diffstat (limited to 'tal-reent.c')
-rw-r--r--tal-reent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tal-reent.c b/tal-reent.c
index 32db9342c..87da7f3c8 100644
--- a/tal-reent.c
+++ b/tal-reent.c
@@ -50,7 +50,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 = (*__gmp_allocate_func) (total_size);
+ p = (char *) (*__gmp_allocate_func) (total_size);
P->size = total_size;
P->next = *markp;
*markp = P;