aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2008-12-09 04:20:19 +0000
committerBen Elliston <bje@gcc.gnu.org>2008-12-09 15:20:19 +1100
commitb16ef779830205beb18e3784c101b8f72893cdfb (patch)
treefb9649646c73d6fad7049c9b0ae653603fb7296c /gcc
parentb4679197dbab08e94d1b3f6179f28c57dbf85bf2 (diff)
downloadgcc-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')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/dfp-bit.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c858071..0c6bae2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2008-12-09 Ben Elliston <bje@au.ibm.com>
+ * config/dfp-bit.c (DFP_TO_INT): Remove unnecessary cast.
+
+2008-12-09 Ben Elliston <bje@au.ibm.com>
+
* config/rs6000/darwin-ldouble.c (fmsub): Remove unused variable, v.
2008-12-08 Steve Ellcey <sje@cup.hp.com>
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. */