diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2010-11-10 16:28:01 +0100 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2010-11-10 16:28:01 +0100 |
commit | 8bd3c97538d43ab04b6ec662dfccb815561f234a (patch) | |
tree | 8e52373e3c8be0e51c9991968f3c9164dd4dfcee /tal-reent.c | |
parent | b90bca4c9e1221ced136be6ddb09811ff75e660a (diff) | |
download | gmp-8bd3c97538d43ab04b6ec662dfccb815561f234a.tar.gz |
Make it possible to compile GMP with g++.
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 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; |