Mercurial > hg > CbC > old > DPP
diff crc32.c @ 11:190dadd8405b
Format indent
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 02 Jul 2019 19:52:09 +0900 |
parents | d4bc23cb728b |
children |
line wrap: on
line diff
--- a/crc32.c Mon Jul 01 22:18:03 2019 +0900 +++ b/crc32.c Tue Jul 02 19:52:09 2019 +0900 @@ -70,7 +70,7 @@ // in the string, using the lookup table values. while(len-->0) { - ulCRC = (ulCRC >> 8) ^ crc32_table[(ulCRC & 0xFF) ^ *buffer++]; + ulCRC = (ulCRC >> 8) ^ crc32_table[(ulCRC & 0xFF) ^ *buffer++]; } // Exclusive OR the result with the beginning value. return ulCRC ^ 0xffffffff;