]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Correct typo in functable
authorRich Ercolani <214141+rincebrain@users.noreply.github.com>
Fri, 25 Mar 2022 14:06:39 +0000 (10:06 -0400)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Fri, 25 Mar 2022 15:09:54 +0000 (16:09 +0100)
Now, I could be wrong about this being an error, but I don't see any discussion suggesting this was intended, so...

functable.c

index a4ad29780229325bf65819e87e8cef0eca8ec1c1..bd1e4cea704021f343deccd94f574dd3eac391f5 100644 (file)
@@ -133,7 +133,7 @@ Z_INTERNAL uint32_t longest_match_slow_stub(deflate_state *const s, Pos cur_matc
 #  endif
 #  if defined(X86_SSE2) && defined(HAVE_BUILTIN_CTZ)
     if (x86_cpu_has_sse2)
-        functable.longest_match = &longest_match_slow_unaligned_sse2;
+        functable.longest_match_slow = &longest_match_slow_unaligned_sse2;
 #  endif
 #  if defined(X86_AVX2) && defined(HAVE_BUILTIN_CTZ)
     if (x86_cpu_has_avx2)