]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/gifdecod.cpp
Add support for wxSL_INVERSE flag. Also uses new inverse logic to make Mac vertical...
[wxWidgets.git] / src / common / gifdecod.cpp
index 732557ca3b2d7fa1c623fa8f95a92ae27dcee8d4..c9cfe9b16ec1e2fbea84df6901e7d6a2c77d6ffa 100644 (file)
@@ -621,7 +621,7 @@ bool wxGIFDecoder::CanRead()
     if ( !m_f->Read(buf, WXSIZEOF(buf)) )
         return false;
 
-    m_f->SeekI(-(off_t)WXSIZEOF(buf), wxFromCurrent);
+    m_f->SeekI(-(wxFileOffset)WXSIZEOF(buf), wxFromCurrent);
 
     return memcmp(buf, "GIF", WXSIZEOF(buf)) == 0;
 }