diff options
author | Chris Lattner <sabre@nondot.org> | 2009-02-07 06:42:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-02-07 06:42:04 +0000 |
commit | 7ed4f39518e7ae1069d820d2b8bd462d6ee3fd9a (patch) | |
tree | 29ded284835456e8ab5e154b3671bef3b680cf53 | |
parent | 34faffac00434ac706dc4f8a4934d6a50ca4addb (diff) |
fix some missing parens, thanks for Eli's review!
Obviously I make a miserable header developer :)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64009 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Headers/stdint.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Headers/stdint.h b/lib/Headers/stdint.h index f49defe185..662f340159 100644 --- a/lib/Headers/stdint.h +++ b/lib/Headers/stdint.h @@ -105,7 +105,7 @@ typedef __UINTMAX_TYPE__ uintmax_t; #if !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) #define INT8_MAX 127 -#define INT8_MIN -128 +#define INT8_MIN (-128) #define UINT8_MAX 255U #define INT_LEAST8_MIN INT8_MIN #define INT_LEAST8_MAX INT8_MAX @@ -115,7 +115,7 @@ typedef __UINTMAX_TYPE__ uintmax_t; #define UINT_FAST8_MAX UINT8_MAX #define INT16_MAX 32767 -#define INT16_MIN -32768 +#define INT16_MIN (-32768) #define UINT16_MAX 65535U #define INT_LEAST16_MIN INT16_MIN #define INT_LEAST16_MAX INT16_MAX @@ -125,7 +125,7 @@ typedef __UINTMAX_TYPE__ uintmax_t; #define UINT_FAST16_MAX UINT16_MAX #define INT32_MAX 2147483647 -#define INT32_MIN -2147483647-1 +#define INT32_MIN (-2147483647-1) #define UINT32_MAX 4294967295U #define INT_LEAST32_MIN INT32_MIN #define INT_LEAST32_MAX INT32_MAX @@ -138,7 +138,7 @@ typedef __UINTMAX_TYPE__ uintmax_t; #ifndef __INT64_TYPE__ #define INT64_MAX 9223372036854775807LL #define INT64_MIN (-9223372036854775807LL-1) -#define UINT64_MAX (18446744073709551615ULL) +#define UINT64_MAX 18446744073709551615ULL #define INT_LEAST64_MIN INT64_MIN #define INT_LEAST64_MAX INT64_MAX #define UINT_LEAST64_MAX UINT64_MAX @@ -223,8 +223,8 @@ typedef __UINTMAX_TYPE__ uintmax_t; #endif /* 7.18.4.2 Macros for greatest-width integer constants. */ -#define INTMAX_C(v) (v ## LL) -#define UINTMAX_C(v) (v ## ULL) +#define INTMAX_C(v) (v##LL) +#define UINTMAX_C(v) (v##ULL) #endif /* C++ requires __STDC_CONSTANT_MACROS */ |