summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2006-06-26 00:56:40 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2006-06-26 00:56:40 +0000
commit4a7163e8a078349347d641ea3ba57457ed4f73bf (patch)
tree767a82ce5821af197acdafd0721dd742138dbf4f
parent1dcd64ff551b3065150862d772f511aaa4ed3a07 (diff)
downloadcygnal-4a7163e8a078349347d641ea3ba57457ed4f73bf.tar.gz
cygnal-4a7163e8a078349347d641ea3ba57457ed4f73bf.tar.bz2
cygnal-4a7163e8a078349347d641ea3ba57457ed4f73bf.zip
* mingwex/math/tgamma.c (SQTPI): Add braces.
-rw-r--r--winsup/mingw/ChangeLog4
-rw-r--r--winsup/mingw/mingwex/math/tgamma.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index 039cc338c..e268550d5 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -1,5 +1,9 @@
2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
+ * mingwex/math/tgamma.c (SQTPI): Add braces.
+
+2006-06-26 Danny Smith <dannysmith@users.sourceforge.net>
+
* mingwex/wcrtomb.c (wcsrtombs): Fix src end-pointer thinko.
* mingwex/math/lgamma.c: (LOGPI) Avoid type punning.
(LS2PI): Likewise.
diff --git a/winsup/mingw/mingwex/math/tgamma.c b/winsup/mingw/mingwex/math/tgamma.c
index 6a11fb24d..b48ac5cb2 100644
--- a/winsup/mingw/mingwex/math/tgamma.c
+++ b/winsup/mingw/mingwex/math/tgamma.c
@@ -193,7 +193,7 @@ static const union
{
unsigned short s[4];
double d;
-} sqt = {0x2706,0x1ff6,0x0d93,0x4004};
+} sqt = {{0x2706,0x1ff6,0x0d93,0x4004}};
#define SQTPI (sqt.d)
#endif
#if MIEEE