From 676e9bcf8112e91645a1e7b34fada11118c3644a Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Sun, 10 Apr 2022 19:55:45 +0900 Subject: [PATCH] bigint.h: use `LL` suffix for bigger integer literals. --- include/mruby/bigint.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/mruby/bigint.h b/include/mruby/bigint.h index 142a11d30..364900ce9 100644 --- a/include/mruby/bigint.h +++ b/include/mruby/bigint.h @@ -51,14 +51,14 @@ typedef int32_t mp_limb; #else /* 64 bit long type */ typedef int64_t mp_limb; -#define LMAX 0x3fffffffffffffffL -#define LC 0xc000000000000000L +#define LMAX 0x3fffffffffffffffLL +#define LC 0xc000000000000000LL #define OVMASK 0x2 #define CMASK (LMAX+1) -#define HLMAX 0x7fffffffL +#define HLMAX 0x7fffffffLL #define HCMASK (HLMAX + 1) -#define HIGH(x) (((x) & 0x3fffffff80000000L) >> 31) -#define LOW(x) ((x) & 0x7fffffffL) +#define HIGH(x) (((x) & 0x3fffffff80000000LL) >> 31) +#define LOW(x) ((x) & 0x7fffffffLL) #endif typedef struct _mpz_t {