diff --git a/contrib/src/mmedia/MmediaVC.dsp b/contrib/src/mmedia/MmediaVC.dsp index ed6566eb67..a37371691e 100644 --- a/contrib/src/mmedia/MmediaVC.dsp +++ b/contrib/src/mmedia/MmediaVC.dsp @@ -134,6 +134,10 @@ SOURCE=.\sndg72x.cpp # End Source File # Begin Source File +SOURCE=.\sndmsad.cpp +# End Source File +# Begin Source File + SOURCE=.\sndpcm.cpp # End Source File # Begin Source File diff --git a/contrib/src/mmedia/sndmsad.cpp b/contrib/src/mmedia/sndmsad.cpp index 6024e8e4c1..dbc6505d5b 100644 --- a/contrib/src/mmedia/sndmsad.cpp +++ b/contrib/src/mmedia/sndmsad.cpp @@ -77,7 +77,7 @@ void wxSoundFormatMSAdpcm::SetCoefs(wxInt16 **coefs, wxUint16 ncoefs, delete[] m_coefs; } // TODO: Add some memory checking here - m_coefs = new (wxInt16 *)[ncoefs]; + m_coefs = new wxInt16 *[ncoefs]; for (i=0;i