Silence MSVC8+ warning C4800 about forcing an int value to bool that got turned into error C2220 (Warning treated as error).

svn-id: r31484
This commit is contained in:
Kari Salminen 2008-04-11 11:05:04 +00:00
parent a525b5bdd5
commit d0f46196c2

View File

@ -355,7 +355,7 @@ void Resource::checkFile(const Common::String &file) {
ResFileEntry entry;
entry.parent = "";
entry.size = temp.size();
entry.mounted = file.compareToIgnoreCase(StaticResource::staticDataFilename());
entry.mounted = file.compareToIgnoreCase(StaticResource::staticDataFilename()) != 0;
entry.preload = false;
entry.prot = false;
entry.type = ResFileEntry::kAutoDetect;