Commit 04f51010 authored by deuce's avatar deuce
Browse files

Use ~0UL for mostest rightestness.

parent f8754d75
......@@ -54,6 +54,6 @@ unsigned long fcrc32(FILE* fp, unsigned long len);
#endif
#define ucrc32(ch,crc) (crc32tbl[(crc^(ch))&0xff]^(crc>>8))
#define crc32(x,y) crc32i(~0,x,y)
#define crc32(x,y) crc32i(~0UL,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