aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/generic/stdint.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fd2c66a..2d0c7cc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-04-25 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/generic/stdint.h (WINT_MAX): Define as 2147483647 since
+ this is the maximum UCS4 value.
+
2009-04-24 Ulrich Drepper <drepper@redhat.com>
[BZ #10093]
diff --git a/sysdeps/generic/stdint.h b/sysdeps/generic/stdint.h
index 2c729ad..98aaec1 100644
--- a/sysdeps/generic/stdint.h
+++ b/sysdeps/generic/stdint.h
@@ -277,7 +277,7 @@ typedef unsigned long long int uintmax_t;
/* Limits of `wint_t'. */
# define WINT_MIN (0u)
-# define WINT_MAX (4294967295u)
+# define WINT_MAX (2147483647)
#endif /* C++ && limit macros */