]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
liblzma: Fix typo discovered by codespell.
authorJia Tan <jiat0218@gmail.com>
Fri, 9 Feb 2024 15:59:54 +0000 (23:59 +0800)
committerJia Tan <jiat0218@gmail.com>
Fri, 9 Feb 2024 15:59:54 +0000 (23:59 +0800)
src/liblzma/check/crc32_arm64.h

index a9722bdb56f7d5b2fafc482da0f6eea441bde099..fc24cd820f40ce233b152e5eecb377d2765b4e00 100644 (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
        // 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.
        for (const uint8_t *limit = buf + (size & ~((size_t)7));
                        buf < limit; buf += 8)