]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/xpmdecod.cpp
new set of fixes for problems due to huge files support: drop wxFileSize_t, use wxFil...
[wxWidgets.git] / src / common / xpmdecod.cpp
index 69a91e7c600c7ea3d6ac9c890c34875e085ed79d..89cdad65eed7b0b2da8c0ebecdd890af03ba260f 100644 (file)
@@ -127,7 +127,7 @@ bool wxXPMDecoder::CanRead(wxInputStream& stream)
     if ( !stream.Read(buf, WXSIZEOF(buf)) )
         return false;
 
-    stream.SeekI(-(off_t)WXSIZEOF(buf), wxFromCurrent);
+    stream.SeekI(-(wxFileOffset)WXSIZEOF(buf), wxFromCurrent);
 
     return memcmp(buf, "/* XPM */", WXSIZEOF(buf)) == 0;
 }