about 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 05a9d6af2a..1f385ffc00 100644
--- a/sysdeps/ieee754/bits/nan.h
+++ b/sysdeps/ieee754/bits/nan.h
@@ -42,7 +42,7 @@
 #  define __nan_bytes		{ 0, 0, 0xc0, 0x7f }
 # endif
 
-static union { unsigned char __c[4]; double __d; } __nan = { __nan_bytes };
+static union { unsigned char __c[4]; float __d; } __nan = { __nan_bytes };
 # define NAN	(__nan.__d)
 
 #endif	/* GCC.  */