1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

liblzma: Fix typo discovered by codespell.

This commit is contained in:
Jia Tan 2024-02-09 23:59:54 +08:00
parent 55d9fc883d
commit adb073da76

View file

@ -61,7 +61,7 @@ crc32_arch_optimized(const uint8_t *buf, size_t size, uint32_t crc)
// Process 8 bytes at a time. The end point is determined by // Process 8 bytes at a time. The end point is determined by
// ignoring the least significant three bits of size to ensure // ignoring the least significant three bits of size to ensure
// we do not process past the bounds of the buffer. This guarentees // we do not process past the bounds of the buffer. This guarantees
// that limit is a multiple of 8 and is strictly less than size. // that limit is a multiple of 8 and is strictly less than size.
for (const uint8_t *limit = buf + (size & ~((size_t)7)); for (const uint8_t *limit = buf + (size & ~((size_t)7));
buf < limit; buf += 8) buf < limit; buf += 8)