summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2002-01-17 01:34:11 +0100
committerKevin Ryde <user42@zip.com.au>2002-01-17 01:34:11 +0100
commitd0944beb15e772571ae3e369ee2b980bd480ddb7 (patch)
tree8f647152e2d3b8ee8ffe0afea093bb74bd541a05
parent45729daddfdd36ecf2e2c9ee50331b14d384484f (diff)
downloadgmp-d0944beb15e772571ae3e369ee2b980bd480ddb7.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, scanf/doscan.c, mpbsd/mtox.c: Some fixes to compile as C++.
-rw-r--r--mpbsd/mtox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpbsd/mtox.c b/mpbsd/mtox.c
index a1f810e94..ef1437313 100644
--- a/mpbsd/mtox.c
+++ b/mpbsd/mtox.c
@@ -65,6 +65,6 @@ mtox (const MINT *x)
str_size += 1 + (s - str);
ASSERT (str_size == strlen (str) + 1);
- __GMP_REALLOCATE_FUNC_MAYBE (str, alloc_size, str_size);
+ __GMP_REALLOCATE_FUNC_MAYBE_TYPE (str, alloc_size, str_size, char);
return (char *) str;
}