]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/mmedia/sndwav.cpp
don't use wxStaticCast to wxBookCtrlBase -- it doesn't work
[wxWidgets.git] / contrib / src / mmedia / sndwav.cpp
index 793d6cb6e6d4af2481fae82485b5c446651ddcf7..5bf9e7fd4e565882ef903cc3cead1f9bc5c079ef 100644 (file)
@@ -6,9 +6,6 @@
 // CVSID: $Id$
 // wxWindows licence
 // --------------------------------------------------------------------------
-#ifdef __GNUG__
-#pragma implementation "sndwav.cpp"
-#endif
 
 #include "wx/wxprec.h"
 
@@ -373,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 
     {