aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-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 a0d1c64..9713d52 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 */