summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Moinvaziri <nathan@nathanm.com>2026-02-17 20:24:36 -0800
committerHans Kristian Rosbach <hk-github@circlestorm.org>2026-02-18 16:29:08 +0100
commit2a87472a4a06fbaf3c449da3fe5e609a1e42050a (patch)
tree42844a4314123fbba458b73ffa503761cd399d44
parente9e34e301802b6f9fa88015c3371fcdcf657e651 (diff)
downloadProject-Tick-2a87472a4a06fbaf3c449da3fe5e609a1e42050a.tar.gz
Project-Tick-2a87472a4a06fbaf3c449da3fe5e609a1e42050a.zip
Fix missing address-of operators for LoongArch functable assignments
-rw-r--r--functable.c8
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