]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Correct WCHAR_MIN, WCHAR_MAX, and WINT_MAX values.
authorUlrich Drepper <drepper@redhat.com>
Fri, 10 Sep 1999 19:37:53 +0000 (19:37 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 10 Sep 1999 19:37:53 +0000 (19:37 +0000)
sysdeps/generic/stdint.h

index ed344513911c8b05f8dbb9bb1b42cb549f6b740f..af73866e3724c68a6b74eec3cde01974eaa3b224 100644 (file)
@@ -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 */