Invert CRC to match most popular implementations.
This commit is contained in:
parent
42575f7cc3
commit
f8e664b797
@ -89,6 +89,6 @@ unsigned int UTIL_CRC32(const void *pdata, size_t data_length)
|
|||||||
crc = CRCTable[c] ^ (crc >> 8);
|
crc = CRCTable[c] ^ (crc >> 8);
|
||||||
}
|
}
|
||||||
|
|
||||||
return crc;
|
return ~crc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user