]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/xpmdecod.cpp
No res-include for rpmspec wx24dsp
[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;
 }