OSDN Git Service

* config/dfp-bit.c (DFP_TO_INT): Remove unnecessary cast.
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Dec 2008 04:20:19 +0000 (04:20 +0000)
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Dec 2008 04:20:19 +0000 (04:20 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142577 138bc75d-0d04-0410-961f-82ee72b054a4

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

index c858071..0c6bae2 100644 (file)
@@ -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>
index bfce851..8437491 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.  */