]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/gifdecod.cpp
Applied patch [ 667563 ] Wine: compile fix for using glibc/msvcrt
[wxWidgets.git] / src / common / gifdecod.cpp
index f7acdfb4e67017a8a8d6cbf39632ab1138589bb0..784d7bdfab11dfbd6eeff229564443e21a5f6af5 100644 (file)
@@ -620,7 +620,7 @@ bool wxGIFDecoder::CanRead()
     if ( !m_f->Read(buf, WXSIZEOF(buf)) )
         return FALSE;
 
-    m_f->SeekI(-WXSIZEOF(buf), wxFromCurrent);
+    m_f->SeekI(-(off_t)WXSIZEOF(buf), wxFromCurrent);
 
     return memcmp(buf, "GIF", WXSIZEOF(buf)) == 0;
 }