]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/stream.cpp
Added wxRTTI macros to buffered DCs.
[wxWidgets.git] / src / common / stream.cpp
index a0ce91c79df019c4ba89c9086c51a95ff219403f..18bcc6f518478364b5e9b22848d3fd3aa71fcfdc 100644 (file)
@@ -670,7 +670,7 @@ wxStreamBase::~wxStreamBase()
 size_t wxStreamBase::GetSize() const
 {
     wxFileOffset length = GetLength();
-    if ( length == wxInvalidOffset )
+    if ( length == (wxFileOffset)wxInvalidOffset )
         return 0;
 
     const size_t len = wx_truncate_cast(size_t, length);