diff options
author | Kevin Ryde <user42@zip.com.au> | 2000-04-29 01:34:49 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2000-04-29 01:34:49 +0200 |
commit | 181c31eaf5808aa2bbc7b7427127c0dc8ce999fa (patch) | |
tree | 8c63d8b576a0b1ae3e2b51e719e80c0882a85ac2 /mpbsd | |
parent | 5646e4b7789e01d20810690d00a9414572fa928e (diff) | |
download | gmp-181c31eaf5808aa2bbc7b7427127c0dc8ce999fa.tar.gz |
Casts to help g++.
Diffstat (limited to 'mpbsd')
-rw-r--r-- | mpbsd/mtox.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mpbsd/mtox.c b/mpbsd/mtox.c index 8baec2a1e..1570feb68 100644 --- a/mpbsd/mtox.c +++ b/mpbsd/mtox.c @@ -1,7 +1,7 @@ /* mtox -- Convert OPERAND to hexadecimal and return a malloc'ed string with the result of the conversion. -Copyright (C) 1991, 1994 Free Software Foundation, Inc. +Copyright (C) 1991, 1994, 2000 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -46,7 +46,7 @@ mtox (x) str = (unsigned char *) (*_mp_allocate_func) (2); str[0] = '0'; str[1] = 0; - return str; + return (char *) str; } xsign = xsize; if (xsize < 0) @@ -77,5 +77,5 @@ mtox (x) s[i] = "0123456789abcdef"[s[zeros + i]]; s[str_size] = 0; - return str; + return (char *) str; } |