From: Chris Lattner Date: Sat, 7 Feb 2009 08:49:37 +0000 (+0000) Subject: remove two eroneous suffixes, these promote to int. Thanks to Neil X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dfd556ecdcff225df2943a60487fa792398d9f86;p=clang 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 --- 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