X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dea7e44a76e4e886f2bc60b0e82322a71b1f1f4f..a485900cf09c5654655e69af639e4f3f4bc4c486:/contrib/src/mmedia/sndwav.cpp diff --git a/contrib/src/mmedia/sndwav.cpp b/contrib/src/mmedia/sndwav.cpp index 76fc470954..5bf9e7fd4e 100644 --- a/contrib/src/mmedia/sndwav.cpp +++ b/contrib/src/mmedia/sndwav.cpp @@ -4,10 +4,8 @@ // Date: 08/11/1999 // Author: Guilhem Lavaux (C) 1999 // CVSID: $Id$ +// wxWindows licence // -------------------------------------------------------------------------- -#ifdef __GNUG__ -#pragma implementation "sndwav.cpp" -#endif #include "wx/wxprec.h" @@ -372,7 +370,7 @@ FAIL_WITH(s->Write(&signature, 4).LastWrite() != 4, wxSOUND_INVSTRM); delete frmt; } - data << (fmt_data.GetSize() + m_sndformat->GetBytesFromTime(time)); + data << (wxUint32)(fmt_data.GetSize() + m_sndformat->GetBytesFromTime(time)); // We, finally, copy the header block to the output stream {