summary refs log tree commit diff
path: root/sysdeps/ieee754/bits/nan.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754/bits/nan.h')
-rw-r--r--sysdeps/ieee754/bits/nan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ieee754/bits/nan.h b/sysdeps/ieee754/bits/nan.h
index 6d88b551b1..251b14de0b 100644
--- a/sysdeps/ieee754/bits/nan.h
+++ b/sysdeps/ieee754/bits/nan.h
@@ -29,7 +29,7 @@
 # define NAN \
   (__extension__                                                            \
    ((union { unsigned __l __attribute__((__mode__(__SI__))); float __d; })  \
-    { __l: 0x7fc00000UL }).__d)
+    { .__l = 0x7fc00000UL }).__d)
 
 #else