]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/image.cpp
correct to int32 for range comparison
[wxWidgets.git] / src / common / image.cpp
index d5ea5590e77f3ad5bd0dc03f10d613b229ba493c..784a016b94210942efce04a431dab95838df4a97 100644 (file)
@@ -110,10 +110,6 @@ wxImage wxNullImage;
 
 IMPLEMENT_DYNAMIC_CLASS(wxImage, wxObject)
 
-wxImage::wxImage()
-{
-}
-
 wxImage::wxImage( int width, int height, bool clear )
 {
     Create( width, height, clear );
@@ -1485,7 +1481,7 @@ bool wxImageHandler::CanRead( const wxString& name )
 
 bool wxImageHandler::CallDoCanRead(wxInputStream& stream)
 {
-    off_t posOld = stream.TellI();
+    wxFileSize_t posOld = stream.TellI();
     if ( posOld == wxInvalidOffset )
     {
         // can't test unseekable stream