]> granicus.if.org Git - clang/commitdiff
remove two eroneous suffixes, these promote to int. Thanks to Neil
authorChris Lattner <sabre@nondot.org>
Sat, 7 Feb 2009 08:49:37 +0000 (08:49 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 7 Feb 2009 08:49:37 +0000 (08:49 +0000)
for pointing this out.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64011 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Headers/stdint.h

index 662f3401593a413e53ec900da608087fae092f3f..ec8810a840a1d8a1a7b588223f7b1046c94caf78 100644 (file)
@@ -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