From 4f3cc70cb6c9b7760d8d13e7661c4d0105006f91 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Tue, 26 May 2015 22:10:26 -0400 Subject: Avoid unneeded truncation to "int" * libm/math/e_sqrt.c (__ieee754_sqrt): Don't truncate constant to "int". --- newlib/libm/math/e_sqrt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newlib/libm') diff --git a/newlib/libm/math/e_sqrt.c b/newlib/libm/math/e_sqrt.c index 460125a8f..78fc52417 100644 --- a/newlib/libm/math/e_sqrt.c +++ b/newlib/libm/math/e_sqrt.c @@ -99,7 +99,7 @@ static double one = 1.0, tiny=1.0e-300; #endif { double z; - __int32_t sign = (int)0x80000000; + __int32_t sign = 0x80000000; __uint32_t r,t1,s1,ix1,q1; __int32_t ix0,s0,q,m,t,i; -- cgit v1.2.3