diff options
author | Littleboy | 2011-04-24 17:08:07 -0400 |
---|---|---|
committer | Littleboy | 2011-04-24 17:08:07 -0400 |
commit | 62e823300993fe1932173f8800b4088a20b75924 (patch) | |
tree | 5a6f8f51302e032e1c9b21aff9c06b39da72254c /common | |
parent | 878d72b387d13bdb7713b142abae32bc28a51047 (diff) | |
download | scummvm-rg350-62e823300993fe1932173f8800b4088a20b75924.tar.gz scummvm-rg350-62e823300993fe1932173f8800b4088a20b75924.tar.bz2 scummvm-rg350-62e823300993fe1932173f8800b4088a20b75924.zip |
COMMON: Fix MSVC warning in PEResources::parseResourceLevel()
Diffstat (limited to 'common')
-rw-r--r-- | common/winexe_pe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/winexe_pe.cpp b/common/winexe_pe.cpp index 17db004bfc..99d44cabbd 100644 --- a/common/winexe_pe.cpp +++ b/common/winexe_pe.cpp @@ -123,7 +123,7 @@ void PEResources::parseResourceLevel(Section §ion, uint32 offset, int level) uint16 namedEntryCount = _exe->readUint16LE(); uint16 intEntryCount = _exe->readUint16LE(); - for (uint32 i = 0; i < namedEntryCount + intEntryCount; i++) { + for (uint32 i = 0; i < (uint32)(namedEntryCount + intEntryCount); i++) { uint32 value = _exe->readUint32LE(); WinResourceID id; |