diff options
author | Jia Tan <jiat0218@gmail.com> | 2024-03-09 09:52:32 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2024-03-09 09:52:32 +0800 |
commit | 8c9b8b2063daa78ead9f648c2ec3c91e8615dffb (patch) | |
tree | c59ab6da2d8eac8f0bfa962020de91c0bfc823d0 /src/liblzma/check/crc64_fast.c | |
parent | Tests: Replace HAVE_MICROLZMA usage in CMake and Autotools builds. (diff) | |
download | xz-8c9b8b2063daa78ead9f648c2ec3c91e8615dffb.tar.xz |
liblzma: Fix typos in crc32_fast.c and crc64_fast.c.
Diffstat (limited to 'src/liblzma/check/crc64_fast.c')
-rw-r--r-- | src/liblzma/check/crc64_fast.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/liblzma/check/crc64_fast.c b/src/liblzma/check/crc64_fast.c index 330a5016..52cddb2c 100644 --- a/src/liblzma/check/crc64_fast.c +++ b/src/liblzma/check/crc64_fast.c @@ -98,12 +98,11 @@ typedef uint64_t (*crc64_func_type)( # pragma GCC diagnostic ignored "-Wunused-function" #endif -// The funcion attributes are needed for safe IFUNC resolver usage with GCC. lzma_resolver_attributes static crc64_func_type crc64_resolve(void) { - return is_arch_extension_supported() + return is_arch_extension_supported() ? &crc64_arch_optimized : &crc64_generic; } |