]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/gifdecod.cpp
Moved print dialog data conversion code
[wxWidgets.git] / src / common / gifdecod.cpp
index 189b52430513e79594855a98b3e9a5d9ef10d2bd..732557ca3b2d7fa1c623fa8f95a92ae27dcee8d4 100644 (file)
@@ -906,8 +906,8 @@ int wxGIFDecoder::ReadGIF()
             if ((buf[8] & 0x80) == 0x80)
             {
                 ncolors = 2 << (buf[8] & 0x07);
-                off_t pos = m_f->TellI();
-                off_t numBytes = 3 * ncolors;
+                wxFileOffset pos = m_f->TellI();
+                wxFileOffset numBytes = 3 * ncolors;
                 m_f->SeekI(numBytes, wxFromCurrent);
                 if (m_f->TellI() != (pos + numBytes))
                 {