]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagbmp.cpp
Warning fixes.
[wxWidgets.git] / src / common / imagbmp.cpp
index e3e9cb67ad4c043911044b822c2dd10631406a6f..e009bad1033de6f35b062939b1e49ef7b8690719 100644 (file)
@@ -843,15 +843,15 @@ bool wxBMPHandler::LoadDib(wxImage *image, wxInputStream& stream,
     wxUint16        aWord;
     wxInt32         dbuf[4];
     wxInt8          bbuf[4];
-    off_t           offset;
 
-    offset = 0; // keep gcc quiet
+    wxFileSize_t offset = 0; // keep gcc quiet
     if ( IsBmp )
     {
         // read the header off the .BMP format file
 
         offset = stream.TellI();
-        if (offset == wxInvalidOffset) offset = 0;
+        if (offset == wxInvalidOffset)
+            offset = 0;
 
         stream.Read(bbuf, 2);
         stream.Read(dbuf, 16);