diff --git a/include/wx/zipstrm.h b/include/wx/zipstrm.h index 09d7b7ca65..ad07e42d64 100644 --- a/include/wx/zipstrm.h +++ b/include/wx/zipstrm.h @@ -521,7 +521,7 @@ inline bool wxZipEntry::IsMadeByUnix() const { case wxZIP_SYSTEM_MSDOS: // note: some unix zippers put madeby = dos - return m_ExternalAttributes & ~0xFFFF; + return (m_ExternalAttributes & ~0xFFFF) != 0; case wxZIP_SYSTEM_OPENVMS: case wxZIP_SYSTEM_UNIX: