diff options
-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; |