Fix typo in crc32_pad
Didn't affect anything though because it was only skipping < 4096 byte remainders
This commit is contained in:
+1
-1
@@ -410,7 +410,7 @@ uint32_t crc32c_pad(uint32_t prev_crc, const void *buf, size_t len, size_t left_
|
|||||||
r = crc32c(r, zero_page, 4096);
|
r = crc32c(r, zero_page, 4096);
|
||||||
right_pad -= 4096;
|
right_pad -= 4096;
|
||||||
}
|
}
|
||||||
if (left_pad > 0)
|
if (right_pad > 0)
|
||||||
r = crc32c(r, zero_page, right_pad);
|
r = crc32c(r, zero_page, right_pad);
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user