diff options
Diffstat (limited to 'Build/source/libs/gmp/gmp-src/tal-reent.c')
-rw-r--r-- | Build/source/libs/gmp/gmp-src/tal-reent.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Build/source/libs/gmp/gmp-src/tal-reent.c b/Build/source/libs/gmp/gmp-src/tal-reent.c index 92f516b5ff3..fb43e060095 100644 --- a/Build/source/libs/gmp/gmp-src/tal-reent.c +++ b/Build/source/libs/gmp/gmp-src/tal-reent.c @@ -29,7 +29,6 @@ GNU Lesser General Public License along with the GNU MP Library. If not, see https://www.gnu.org/licenses/. */ #include <stdio.h> -#include "gmp.h" #include "gmp-impl.h" @@ -61,7 +60,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; |