Changeset 0c452f2 for src/CRC64.c


Ignore:
Timestamp:
10/06/14 19:56:14 (10 years ago)
Author:
Hal Finkel <hfinkel@…>
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)
Message:

Rename the pointer argument of crc64_invert for clarity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CRC64.c

    r96316ba r0c452f2  
    13201320// Calculate the 'check bytes' for the provided checksum. If these bytes are 
    13211321// 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; 
     1322void crc64_invert(uint64_t cs, void *check_bytes) { 
     1323  unsigned char *bytes = (unsigned char *) check_bytes; 
    13241324  cs ^= UINT64_C(0xffffffffffffffff); 
    13251325 
Note: See TracChangeset for help on using the changeset viewer.