From e9a9c7f753ad48d1caffdfd71513b6c45780a5b3 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Wed, 10 Jun 2020 16:51:10 -0700 Subject: [PATCH] fix minor cast warning --- xxh3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xxh3.h b/xxh3.h index 7c564f9..7fdf9d5 100644 --- a/xxh3.h +++ b/xxh3.h @@ -2529,7 +2529,7 @@ XXH_PUBLIC_API XXH128_hash_t XXH3_128bits_withSecret(const void* input, size_t len, const void* secret, size_t secretSize) { return XXH3_128bits_internal(input, len, 0, - secret, secretSize, + (const xxh_u8*)secret, secretSize, XXH3_hashLong_128b_defaultSecret); }