projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Take into account icon mask in wxStaticBitmap
[wxWidgets.git]
/
src
/
common
/
gifdecod.cpp
diff --git
a/src/common/gifdecod.cpp
b/src/common/gifdecod.cpp
index f7acdfb4e67017a8a8d6cbf39632ab1138589bb0..784d7bdfab11dfbd6eeff229564443e21a5f6af5 100644
(file)
--- a/
src/common/gifdecod.cpp
+++ b/
src/common/gifdecod.cpp
@@
-620,7
+620,7
@@
bool wxGIFDecoder::CanRead()
if ( !m_f->Read(buf, WXSIZEOF(buf)) )
return FALSE;
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;
}
return memcmp(buf, "GIF", WXSIZEOF(buf)) == 0;
}