X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/80fdcdb90ef779185492dab676d461fc34933312..6ba718d7aee2f519d9146b90424ccec9e2243479:/src/os2/sound.cpp diff --git a/src/os2/sound.cpp b/src/os2/sound.cpp index 21d0498c1e..48fa95740d 100644 --- a/src/os2/sound.cpp +++ b/src/os2/sound.cpp @@ -4,7 +4,6 @@ // Author: David Webster // Modified by: // Created: 10/17/99 -// RCS-ID: $Id$ // Copyright: (c) David Webster // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -42,7 +41,7 @@ wxSound::wxSound(const wxString& sFileName, bool isResource) Create(sFileName, isResource); } -wxSound::wxSound(int size, const wxByte* data) +wxSound::wxSound(size_t size, const void* data) : m_waveData(NULL), m_waveLength(0), m_isResource(FALSE) { Create(size, data); @@ -108,7 +107,7 @@ bool wxSound::Create(const wxString& fileName, bool isResource) } } -bool wxSound::Create(int size, const wxByte* data) +bool wxSound::Create(size_t size, const void* data) { Free(); m_isResource = FALSE; @@ -117,7 +116,7 @@ bool wxSound::Create(int size, const wxByte* data) if (!m_waveData) return FALSE; - for (int i=0; i