Fix undefined behaviour in WaveDecoderSA (delete on void*)

This commit is contained in:
Silent 2018-02-11 14:11:00 +01:00
parent 48ff3a0150
commit 55a788025a

View File

@ -8,7 +8,7 @@ private:
uint32_t m_dataSize; uint32_t m_dataSize;
uint32_t m_offsetToData; uint32_t m_offsetToData;
size_t m_maxBlockSize = 0; size_t m_maxBlockSize = 0;
void* m_buffer = nullptr; uint8_t* m_buffer = nullptr;
struct FormatChunk struct FormatChunk
{ {