From 1d9546ac1babc65c58c3aeee5dd7aa7f019f46aa Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 27 Aug 2018 05:47:59 -0600 Subject: [PATCH] include/crc64.h: fix warning: integer constant is too large for its type --- include/crc64.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/crc64.h b/include/crc64.h index 80c7ae10f5..c330750da8 100644 --- a/include/crc64.h +++ b/include/crc64.h @@ -64,10 +64,10 @@ /* CRC-64/WE */ -#define CRC64_POLY ((uint64_t)0x42f0e1eba9ea3693) -#define CRC64_INIT ((uint64_t)0xffffffffffffffff) -#define CRC64_XOROUT ((uint64_t)0xffffffffffffffff) -#define CRC64_CHECK ((uint64_t)0x62ec59e3f1a4f00a) +#define CRC64_POLY ((uint64_t)0x42f0e1eba9ea3693ull) +#define CRC64_INIT ((uint64_t)0xffffffffffffffffull) +#define CRC64_XOROUT ((uint64_t)0xffffffffffffffffull) +#define CRC64_CHECK ((uint64_t)0x62ec59e3f1a4f00aull) /**************************************************************************** * Public Function Prototypes