]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/dfp-bit.c (DFP_TO_INT): Remove unnecessary cast.
authorBen Elliston <bje@au.ibm.com>
Tue, 9 Dec 2008 04:20:19 +0000 (04:20 +0000)
committerBen Elliston <bje@gcc.gnu.org>
Tue, 9 Dec 2008 04:20:19 +0000 (15:20 +1100)
From-SVN: r142577

gcc/ChangeLog
gcc/config/dfp-bit.c

index c85807143a32b7d7a1013c006baf3f185e23a6e8..0c6bae215642b5baff855a068dbe1b8f5fb89a71 100644 (file)
@@ -1,3 +1,7 @@
+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.
index bfce851d7b9f91b8527183fe8ab36237ec014f3a..8437491a753a0d3f59bed959de9d8edf2f8c572a 100644 (file)
@@ -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.  */