From 5e8a22759925b145323be3161f666c0ba6a37e68 Mon Sep 17 00:00:00 2001 From: Jered Floyd Date: Tue, 11 Aug 2026 14:28:11 +0000 Subject: [PATCH] Fix signature on flz_maxcopy to avoid cast error --- fastlz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastlz.c b/fastlz.c index f99bb10..a012bb9 100644 --- a/fastlz.c +++ b/fastlz.c @@ -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;