aboutsummaryrefslogtreecommitdiff
path: root/newlib/libm/math/s_infconst.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/math/s_infconst.c')
-rw-r--r--newlib/libm/math/s_infconst.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libm/math/s_infconst.c b/newlib/libm/math/s_infconst.c
index e6b86d4..6b63afb 100644
--- a/newlib/libm/math/s_infconst.c
+++ b/newlib/libm/math/s_infconst.c
@@ -6,10 +6,10 @@
#ifndef _DOUBLE_IS_32BITS
#ifdef __IEEE_BIG_ENDIAN
-const union __dmath __infinity[1] = {{ 0x7ff00000, 0 }};
+const union __dmath __infinity[1] = {{{ 0x7ff00000, 0 }}};
#else
-const union __dmath __infinity[1] = {{ 0, 0x7ff00000 }};
+const union __dmath __infinity[1] = {{{ 0, 0x7ff00000 }}};
#endif
#else /* defined (_DOUBLE_IS_32BITS) */
-const union __dmath __infinity[1] = {{ 0x7f800000, 0 }};
+const union __dmath __infinity[1] = {{{ 0x7f800000, 0 }}};
#endif /* defined (_DOUBLE_IS_32BITS) */