include/crc64.h: fix warning: integer constant is too large for its type

This commit is contained in:
Xiang Xiao 2018-08-27 05:47:59 -06:00 committed by Gregory Nutt
parent 05faba2514
commit 1d9546ac1b

View File

@ -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