X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/abffc1ff5d6546356804b0c2c6805a655c28104b..80f218424f34e2ded439cc23631ea1b74c72f732:/src/common/zipstrm.cpp diff --git a/src/common/zipstrm.cpp b/src/common/zipstrm.cpp index b7ab20d7b7..5081107137 100644 --- a/src/common/zipstrm.cpp +++ b/src/common/zipstrm.cpp @@ -1405,9 +1405,7 @@ bool wxZipInputStream::LoadEndRecord() else { wxLogNull nolog; wxFileOffset pos = m_parent_i_stream->TellI(); - // FIXME - //if (pos != wxInvalidOffset) - if (pos >= 0 && pos <= LONG_MAX) + if (pos != wxInvalidOffset) m_offsetAdjustment = m_position = pos; return true; }