From: Alexandre Perrin Date: Mon, 18 Nov 2013 22:16:22 +0000 (+0100) Subject: fix the INT64_C and INTMAX_C family macro for x86_64. X-Git-Tag: v3.9.0~1156 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/2a61a4766f203ace8a0d0ed677e146bd3959dd58 fix the INT64_C and INTMAX_C family macro for x86_64. This patch fix the expanding type of both the INT64_C and the INTMAX_C family macros to match their corresponding type: - INT64_C(value) to `int_least64_t` - UINT64_C(value) to `uint_least64_t` - INTMAX_C(value) to `intmax_t` - UINTMAX_C(value) to `uintmax_t` --- diff --git a/sys/cpu/x86_64/include/int_const.h b/sys/cpu/x86_64/include/int_const.h index 2efe6ba9f0..71dcbed262 100644 --- a/sys/cpu/x86_64/include/int_const.h +++ b/sys/cpu/x86_64/include/int_const.h @@ -42,14 +42,14 @@ #define INT8_C(c) (c) #define INT16_C(c) (c) #define INT32_C(c) (c) -#define INT64_C(c) (c ## LL) +#define INT64_C(c) (c ## L) #define UINT8_C(c) (c) #define UINT16_C(c) (c) #define UINT32_C(c) (c ## U) -#define UINT64_C(c) (c ## ULL) +#define UINT64_C(c) (c ## UL) -#define INTMAX_C(c) (c ## LL) -#define UINTMAX_C(c) (c ## ULL) +#define INTMAX_C(c) (c ## L) +#define UINTMAX_C(c) (c ## UL) #endif