about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/bits/wchar.h2
-rw-r--r--sysdeps/generic/stdint.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/bits/wchar.h b/sysdeps/generic/bits/wchar.h
index 33cb52656e..76b0f310f0 100644
--- a/sysdeps/generic/bits/wchar.h
+++ b/sysdeps/generic/bits/wchar.h
@@ -20,7 +20,7 @@
 #ifndef _BITS_WCHAR_H
 #define _BITS_WCHAR_H	1
 
-#define __WCHAR_MIN	(-127)
+#define __WCHAR_MIN	(-2147483647 - 1)
 #define __WCHAR_MAX	(2147483647)
 
 #endif	/* bits/wchar.h */
diff --git a/sysdeps/generic/stdint.h b/sysdeps/generic/stdint.h
index cf4f34e823..d0d427cdd2 100644
--- a/sysdeps/generic/stdint.h
+++ b/sysdeps/generic/stdint.h
@@ -279,7 +279,7 @@ typedef unsigned long long int	uintmax_t;
 
 /* Limits of `wint_t'.  */
 # define WINT_MIN		(0u)
-# define WINT_MAX		(2147483647u)
+# define WINT_MAX		(4294967295u)
 
 #endif	/* C++ && limit macros */