diff options
author | Ben Elliston <bje@au.ibm.com> | 2008-12-09 04:20:19 +0000 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2008-12-09 15:20:19 +1100 |
commit | b16ef779830205beb18e3784c101b8f72893cdfb (patch) | |
tree | fb9649646c73d6fad7049c9b0ae653603fb7296c /gcc/config/dfp-bit.c | |
parent | b4679197dbab08e94d1b3f6179f28c57dbf85bf2 (diff) | |
download | gcc-b16ef779830205beb18e3784c101b8f72893cdfb.zip gcc-b16ef779830205beb18e3784c101b8f72893cdfb.tar.gz gcc-b16ef779830205beb18e3784c101b8f72893cdfb.tar.bz2 |
* config/dfp-bit.c (DFP_TO_INT): Remove unnecessary cast.
From-SVN: r142577
Diffstat (limited to 'gcc/config/dfp-bit.c')
-rw-r--r-- | gcc/config/dfp-bit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/dfp-bit.c b/gcc/config/dfp-bit.c index bfce851..8437491 100644 --- a/gcc/config/dfp-bit.c +++ b/gcc/config/dfp-bit.c @@ -536,7 +536,7 @@ DFP_TO_INT (DFP_C_TYPE x) /* Rescale if the exponent is less than zero. */ decNumberToIntegralValue (&n2, &n1, &context); /* Get a value to use for the quantize call. */ - decNumberFromString (&qval, (char *) "1.", &context); + decNumberFromString (&qval, "1.", &context); /* Force the exponent to zero. */ decNumberQuantize (&n1, &n2, &qval, &context); /* Get a string, which at this point will not include an exponent. */ |