Commit 8b0fc718 authored by deuce's avatar deuce
Browse files

Fix warnings on 64-bit systems.

parent 87ffd5bb
......@@ -55,6 +55,6 @@ uint32_t fcrc32(FILE* fp, unsigned long len);
#endif
#define ucrc32(ch,crc) (crc32tbl[(crc^(ch))&0xff]^(crc>>8))
#define crc32(x,y) crc32i(~0UL,x,y)
#define crc32(x,y) crc32i(0xffffffff,x,y)
#endif /* Don't add anything after this line */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment