From e6ff03adc5a02d015986e07a91191115a159a2da Mon Sep 17 00:00:00 2001 From: Jered Floyd Date: Tue, 11 Aug 2026 13:37:52 +0000 Subject: [PATCH] Fix signature on flz_maxcopy to avoid cast error --- lib/fastlz/fastlz.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fastlz/fastlz.cc b/lib/fastlz/fastlz.cc index f99bb10b0f3..a012bb94af8 100644 --- a/lib/fastlz/fastlz.cc +++ b/lib/fastlz/fastlz.cc @@ -162,7 +162,7 @@ static void flz_smallcopy(uint8_t* dest, const uint8_t* src, uint32_t count) { } /* special case of memcpy: exactly MAX_COPY bytes */ -static void flz_maxcopy(void* dest, const void* src) { +static void flz_maxcopy(uint8_t* dest, const uint8_t* src) { #if defined(FLZ_ARCH64) const uint32_t* p = (const uint32_t*)src; uint32_t* q = (uint32_t*)dest;