- Timestamp:
- 10/06/14 19:56:14 (10 years ago)
- Branches:
- master
- Children:
- ad7f485
- Parents:
- 96316ba
- git-author:
- Hal Finkel <hfinkel@…> (10/06/14 19:56:14)
- git-committer:
- Hal Finkel <hfinkel@…> (10/06/14 19:56:14)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CRC64.c
r96316ba r0c452f2 1320 1320 // Calculate the 'check bytes' for the provided checksum. If these bytes are 1321 1321 // appended to the original buffer, then the new total checksum should be -1. 1322 void crc64_invert(uint64_t cs, void * buffer) {1323 unsigned char *bytes = (unsigned char *) buffer;1322 void crc64_invert(uint64_t cs, void *check_bytes) { 1323 unsigned char *bytes = (unsigned char *) check_bytes; 1324 1324 cs ^= UINT64_C(0xffffffffffffffff); 1325 1325
Note: See TracChangeset
for help on using the changeset viewer.