X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/80fdcdb90ef779185492dab676d461fc34933312..ee4d43806461a4856ed526db164f1a6207027f81:/include/wx/os2/sound.h diff --git a/include/wx/os2/sound.h b/include/wx/os2/sound.h index 43d09536ba..f19bc3a712 100644 --- a/include/wx/os2/sound.h +++ b/include/wx/os2/sound.h @@ -20,14 +20,14 @@ class wxSound : public wxSoundBase public: wxSound(); wxSound(const wxString& fileName, bool isResource = FALSE); - wxSound(int size, const wxByte* data); + wxSound(size_t size, const void* data); virtual ~wxSound(); public: // Create from resource or file bool Create(const wxString& fileName, bool isResource = FALSE); // Create from data - bool Create(int size, const wxByte* data); + bool Create(size_t size, const void* data); bool IsOk() const { return (m_waveData ? TRUE : FALSE); };