From e1ff3825eeaaaecb7bf39f7179c11bef03ed0502 Mon Sep 17 00:00:00 2001 From: sippeangelo Date: Thu, 1 Oct 2015 12:51:29 +0200 Subject: [PATCH] Fixed type error in sound loading --- include/Sound/Sound.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Sound/Sound.h b/include/Sound/Sound.h index bc3aae8..1e892b7 100644 --- a/include/Sound/Sound.h +++ b/include/Sound/Sound.h @@ -32,7 +32,7 @@ private: short m_FormatType, m_Channels; unsigned long m_SampleRate, m_AvgBytesPerSec; short m_BytesPerSample, m_BitsPerSample; - unsigned long m_DataSize; + unsigned int m_DataSize; std::map m_BufferCache; ALuint LoadFile(std::string path); };