summaryrefslogtreecommitdiff
path: root/libquadmath
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@pfeifer.com>2017-07-19 19:53:58 +0000
committerGerald Pfeifer <gerald@gcc.gnu.org>2017-07-19 19:53:58 +0000
commita8d6055a56948cc9c4ddd0d9f8052223ccf2c97e (patch)
treeb350c91fb3909baa0feda3eabb8c5f6c707bb1a8 /libquadmath
parent304a15ec643310a4d18521ca36fea5bfed814768 (diff)
downloadgcc-a8d6055a56948cc9c4ddd0d9f8052223ccf2c97e.tar.gz
* math/powq.c (powq): Use uint32_t instead of u_int32_t.
From-SVN: r250367
Diffstat (limited to 'libquadmath')
-rw-r--r--libquadmath/ChangeLog4
-rw-r--r--libquadmath/math/powq.c2
2 files changed, 5 insertions, 1 deletions
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 <gerald@pfeifer.com>
+
+ * math/powq.c (powq): Use uint32_t instead of u_int32_t.
+
2017-07-19 Jakub Jelinek <jakub@redhat.com>
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.