aboutsummaryrefslogtreecommitdiff
path: root/lib/Headers/stdint.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-02-07 08:49:37 +0000
committerChris Lattner <sabre@nondot.org>2009-02-07 08:49:37 +0000
commitdfd556ecdcff225df2943a60487fa792398d9f86 (patch)
tree563c3ab5a4433a6b1b2211396ed6a800c9c20a2c /lib/Headers/stdint.h
parent33cfe694414d9654d53607869ecd40e2be5a857d (diff)
remove two eroneous suffixes, these promote to int. Thanks to Neil
for pointing this out. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64011 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Headers/stdint.h')
-rw-r--r--lib/Headers/stdint.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Headers/stdint.h b/lib/Headers/stdint.h
index 662f340159..ec8810a840 100644
--- a/lib/Headers/stdint.h
+++ b/lib/Headers/stdint.h
@@ -106,7 +106,7 @@ typedef __UINTMAX_TYPE__ uintmax_t;
#define INT8_MAX 127
#define INT8_MIN (-128)
-#define UINT8_MAX 255U
+#define UINT8_MAX 255
#define INT_LEAST8_MIN INT8_MIN
#define INT_LEAST8_MAX INT8_MAX
#define UINT_LEAST8_MAX UINT8_MAX
@@ -116,7 +116,7 @@ typedef __UINTMAX_TYPE__ uintmax_t;
#define INT16_MAX 32767
#define INT16_MIN (-32768)
-#define UINT16_MAX 65535U
+#define UINT16_MAX 65535
#define INT_LEAST16_MIN INT16_MIN
#define INT_LEAST16_MAX INT16_MAX
#define UINT_LEAST16_MAX UINT16_MAX