From d879e028cf8f869738ac9127c7748b39531723aa Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 28 Oct 2024 15:32:25 +0300 Subject: [PATCH] engine: soundlib: snd_wav: fix clang warning --- engine/common/soundlib/snd_wav.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/soundlib/snd_wav.c b/engine/common/soundlib/snd_wav.c index 91294304..e0e6e0a7 100644 --- a/engine/common/soundlib/snd_wav.c +++ b/engine/common/soundlib/snd_wav.c @@ -23,7 +23,7 @@ static const byte *iff_end; static const byte *iff_lastChunk; static int iff_chunkLen; -static int IsFourCC( const byte *ptr, const byte *fourcc ) +static int IsFourCC( const void *ptr, const void *fourcc ) { return 0 == memcmp( ptr, fourcc, 4 ); }