summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 c85807143a3..0c6bae21564 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 bfce851d7b9..8437491a753 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. */
OpenPOWER on IntegriCloud