=> 7d698c1bd64d0f112157d4d0ec209588c2aebe2a
[1mdiff --git a/src/crc32.c b/src/crc32.c[m [1mindex e2b48ff..2b11269 100644[m [1m--- a/src/crc32.c[m [1m+++ b/src/crc32.c[m [36m@@ -122,10 +122,9 @@[m [muint32_t iCrc32(const char *data, size_t size) {[m 0x5d681b02L, 0x2a6f2b94L, 0xb40bbe37L, 0xc30c8ea1L, 0x5a05df1bL,[m 0x2d02ef8dL[m };[m [31m-[m [31m- uint32_t crc32 = 0;[m [32m+[m[32m uint32_t crc32 = 0xffffffffu;[m for (size_t i = 0; i < size; ++i) {[m crc32 = crc32_tab[(crc32 ^ data[i]) & 0xff] ^ (crc32 >> 8);[m }[m [31m- return crc32;[m [32m+[m[32m return ~crc32;[m }[m
text/gemini; charset=utf-8
This content has been proxied by September (ba2dc).