diff options
| -rw-r--r-- | functable.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/functable.c b/functable.c index b3c611622c..f226486f6c 100644 --- a/functable.c +++ b/functable.c @@ -306,8 +306,8 @@ static int init_functable(void) { // LOONGARCH #ifdef LOONGARCH_CRC if (cf.loongarch.has_crc) { - ft.crc32 = crc32_loongarch64; - ft.crc32_copy = crc32_copy_loongarch64; + ft.crc32 = &crc32_loongarch64; + ft.crc32_copy = &crc32_copy_loongarch64; } #endif #ifdef LOONGARCH_LSX @@ -319,7 +319,7 @@ static int init_functable(void) { ft.inflate_fast = &inflate_fast_lsx; ft.longest_match = &longest_match_lsx; ft.longest_match_slow = &longest_match_slow_lsx; - ft.slide_hash = slide_hash_lsx; + ft.slide_hash = &slide_hash_lsx; } #endif #ifdef LOONGARCH_LASX @@ -331,7 +331,7 @@ static int init_functable(void) { ft.inflate_fast = &inflate_fast_lasx; ft.longest_match = &longest_match_lasx; ft.longest_match_slow = &longest_match_slow_lasx; - ft.slide_hash = slide_hash_lasx; + ft.slide_hash = &slide_hash_lasx; } #endif |
