X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58b9c9baddc38500ea0d9738de1e0aeac039b64c..ccdd4b0b4213a247e61c81718be7483074a9c0b4:/contrib/src/mmedia/sndwav.cpp diff --git a/contrib/src/mmedia/sndwav.cpp b/contrib/src/mmedia/sndwav.cpp index 793d6cb6e6..c854f774ef 100644 --- a/contrib/src/mmedia/sndwav.cpp +++ b/contrib/src/mmedia/sndwav.cpp @@ -373,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 {