about summary refs log tree commit diff
path: root/sysdeps/generic/stdint.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/stdint.h')
-rw-r--r--sysdeps/generic/stdint.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/stdint.h b/sysdeps/generic/stdint.h
index a0d1c64901..9713d52348 100644
--- a/sysdeps/generic/stdint.h
+++ b/sysdeps/generic/stdint.h
@@ -269,13 +269,13 @@ typedef unsigned long long int	uintmax_t;
 /* Limits of `wchar_t'.  */
 # ifndef WCHAR_MIN
 /* These constants might also be defined in <wchar.h>.  */
-#  define WCHAR_MIN		(-2147483647-1)
+#  define WCHAR_MIN		(0)
 #  define WCHAR_MAX		(2147483647)
 # endif
 
 /* Limits of `wint_t'.  */
 # define WINT_MIN		(0)
-# define WINT_MAX		(4294967295U)
+# define WINT_MAX		(2147483647)
 
 #endif	/* C++ && limit macros */