From: Ulrich Drepper Date: Fri, 10 Sep 1999 19:37:53 +0000 (+0000) Subject: Correct WCHAR_MIN, WCHAR_MAX, and WINT_MAX values. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc7500a6e9f4e4e602f280ec3dea08aae6af9b3f;p=thirdparty%2Fglibc.git Correct WCHAR_MIN, WCHAR_MAX, and WINT_MAX values. --- diff --git a/sysdeps/generic/stdint.h b/sysdeps/generic/stdint.h index ed344513911..af73866e372 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 . */ -# 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 */