Warning fixes related to various cases of typecasting.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user