summaryrefslogtreecommitdiff
path: root/nt/inc/stdint.h
diff options
context:
space:
mode:
authorChristoph Scholtes <cschol2112@gmail.com>2011-11-13 07:43:13 -0700
committerChristoph Scholtes <cschol2112@gmail.com>2011-11-13 07:43:13 -0700
commitd7cecd19b3e4cf7a4c33145397900fb10f2cd698 (patch)
tree7fab2650bf02f2de0443955b288cc4a35a612cf1 /nt/inc/stdint.h
parentf6b1b0a848cfdaf07e5b785e72a33c1316821e2c (diff)
downloademacs-d7cecd19b3e4cf7a4c33145397900fb10f2cd698.tar.gz
* inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.
Diffstat (limited to 'nt/inc/stdint.h')
-rw-r--r--nt/inc/stdint.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nt/inc/stdint.h b/nt/inc/stdint.h
index 5242a45df44..fa2e06f3da9 100644
--- a/nt/inc/stdint.h
+++ b/nt/inc/stdint.h
@@ -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)