From 55a788025a0969e3c88f3529a94ebc183592c838 Mon Sep 17 00:00:00 2001 From: Silent Date: Sun, 11 Feb 2018 14:11:00 +0100 Subject: [PATCH] Fix undefined behaviour in WaveDecoderSA (delete on void*) --- SilentPatchSA/WaveDecoderSA.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SilentPatchSA/WaveDecoderSA.h b/SilentPatchSA/WaveDecoderSA.h index 01f4515..89ff070 100644 --- a/SilentPatchSA/WaveDecoderSA.h +++ b/SilentPatchSA/WaveDecoderSA.h @@ -8,7 +8,7 @@ private: uint32_t m_dataSize; uint32_t m_offsetToData; size_t m_maxBlockSize = 0; - void* m_buffer = nullptr; + uint8_t* m_buffer = nullptr; struct FormatChunk {