diff options
author | Kevin Ryde <user42@zip.com.au> | 2002-01-17 00:59:05 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2002-01-17 00:59:05 +0100 |
commit | d08a54b55c696b10c9d4aa4c34fc566b13f6ee1f (patch) | |
tree | ea6e7a108e50abe4aac6c856a9954f53cc9b2f78 /mpz/out_raw.c | |
parent | 1f766e7ec58813d9066a90977a14a5290b23ed25 (diff) | |
download | gmp-d08a54b55c696b10c9d4aa4c34fc566b13f6ee1f.tar.gz |
* gmp-impl.h, mpz/get_str.c, mpz/out_raw.c, mpq/get_str.c,
mpq/set_str.c, mpf/get_str.c, printf/asprntffuns.c, printf/doprnt.c,
printf/repl-vsnprintf.c, printf/snprntffuns.c: Some fixes to compile
as C++.
Diffstat (limited to 'mpz/out_raw.c')
-rw-r--r-- | mpz/out_raw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mpz/out_raw.c b/mpz/out_raw.c index a2148a198..bf4af827d 100644 --- a/mpz/out_raw.c +++ b/mpz/out_raw.c @@ -1,6 +1,6 @@ /* mpz_out_raw -- write an mpz_t in raw format. -Copyright 2001 Free Software Foundation, Inc. +Copyright 2001, 2002 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -96,7 +96,7 @@ mpz_out_raw (FILE *fp, mpz_srcptr x) bytes = BYTES_PER_MP_LIMB * abs_xsize; tsize = ROUND_UP_MULTIPLE ((unsigned) 4, BYTES_PER_MP_LIMB) + bytes; - tp = (*__gmp_allocate_func) (tsize); + tp = __GMP_ALLOCATE_FUNC_TYPE (tsize, char); bp = tp + ROUND_UP_MULTIPLE ((unsigned) 4, BYTES_PER_MP_LIMB); if (bytes != 0) |