Commit f8754d75 authored by deuce's avatar deuce
Browse files

Use ~0 rather than -1 for max unsigned int.

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