]> code.delx.au - gnu-emacs/commitdiff
* inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
authorChristoph Scholtes <cschol2112@gmail.com>
Sun, 13 Nov 2011 14:43:13 +0000 (07:43 -0700)
committerChristoph Scholtes <cschol2112@gmail.com>
Sun, 13 Nov 2011 14:43:13 +0000 (07:43 -0700)
nt/ChangeLog
nt/inc/stdint.h

index fc612d64fa888988b3c89ac3141de1854c6956a8..512e08678ff3c40c010422c59cefc3e77913de65 100644 (file)
@@ -1,3 +1,7 @@
+2011-11-13  Christoph Scholtes  <cschol2112@googlemail.com>
+
+       * inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
+
 2011-11-05  Christoph Scholtes  <cschol2112@googlemail.com>
 
        * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX)
index 5242a45df44d1c4693f5b1c0669881ad45f556be..fa2e06f3da9c6397e7c8a0d0ed535361d53ae9ab 100644 (file)
@@ -29,7 +29,7 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #ifdef _WIN64
 typedef __int64 intptr_t;
-#define UINT64_MAX 18446744073709551616
+#define UINT64_MAX 18446744073709551615
 #define UINT64_MIN 0
 /* "i64" is the non-standard suffix used by MSVC for 64-bit constants.  */
 #define INT64_MAX 9223372036854775807i64
@@ -42,7 +42,7 @@ typedef __int64 intptr_t;
 #else
 typedef int intptr_t;
 typedef unsigned int uint32_t;
-#define UINT32_MAX 4294967296
+#define UINT32_MAX 4294967295
 #define UINT32_MIN 0
 #define INT32_MAX 2147483647
 #define INT32_MIN (~INT32_MAX)