From a8d6055a56948cc9c4ddd0d9f8052223ccf2c97e Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Wed, 19 Jul 2017 19:53:58 +0000 Subject: [PATCH] * math/powq.c (powq): Use uint32_t instead of u_int32_t. From-SVN: r250367 --- libquadmath/ChangeLog | 4 ++++ libquadmath/math/powq.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog index 73d0e3077c5..bc37c3f66ba 100644 --- a/libquadmath/ChangeLog +++ b/libquadmath/ChangeLog @@ -1,3 +1,7 @@ +2017-07-19 Gerald Pfeifer + + * math/powq.c (powq): Use uint32_t instead of u_int32_t. + 2017-07-19 Jakub Jelinek PR libquadmath/65757 diff --git a/libquadmath/math/powq.c b/libquadmath/math/powq.c index acad2057516..4d586d6534a 100644 --- a/libquadmath/math/powq.c +++ b/libquadmath/math/powq.c @@ -263,7 +263,7 @@ powq (__float128 x, __float128 y) /* sgn (sign of result -ve**odd) = -1 else = 1 */ sgn = one; - if (((((u_int32_t) hx >> 31) - 1) | (yisint - 1)) == 0) + if (((((uint32_t) hx >> 31) - 1) | (yisint - 1)) == 0) sgn = -one; /* (-ve)**(odd int) */ /* |y| is huge. -- 2.30.2