From: Ben Elliston Date: Tue, 9 Dec 2008 04:20:19 +0000 (+0000) Subject: * config/dfp-bit.c (DFP_TO_INT): Remove unnecessary cast. X-Git-Tag: releases/gcc-4.4.0~1295 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b16ef779830205beb18e3784c101b8f72893cdfb;p=thirdparty%2Fgcc.git * config/dfp-bit.c (DFP_TO_INT): Remove unnecessary cast. From-SVN: r142577 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c85807143a32..0c6bae215642 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-12-09 Ben Elliston + + * config/dfp-bit.c (DFP_TO_INT): Remove unnecessary cast. + 2008-12-09 Ben Elliston * config/rs6000/darwin-ldouble.c (fmsub): Remove unused variable, v. diff --git a/gcc/config/dfp-bit.c b/gcc/config/dfp-bit.c index bfce851d7b9f..8437491a753a 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. */