Fix harmless MSVC warning about int to bool conversion
Compare the integer result of a bitwise operation with 0 explicitly to
avoid the C4800 warning given since the changes of the recent commit
802eac475d
This commit is contained in:
parent
8a4573223e
commit
c2d11dc275
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user