X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dea7e44a76e4e886f2bc60b0e82322a71b1f1f4f..ccdd4b0b4213a247e61c81718be7483074a9c0b4:/contrib/src/mmedia/sndwav.cpp diff --git a/contrib/src/mmedia/sndwav.cpp b/contrib/src/mmedia/sndwav.cpp index 76fc470954..c854f774ef 100644 --- a/contrib/src/mmedia/sndwav.cpp +++ b/contrib/src/mmedia/sndwav.cpp @@ -4,6 +4,7 @@ // Date: 08/11/1999 // Author: Guilhem Lavaux (C) 1999 // CVSID: $Id$ +// wxWindows licence // -------------------------------------------------------------------------- #ifdef __GNUG__ #pragma implementation "sndwav.cpp" @@ -372,7 +373,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 {