From 62e823300993fe1932173f8800b4088a20b75924 Mon Sep 17 00:00:00 2001 From: Littleboy Date: Sun, 24 Apr 2011 17:08:07 -0400 Subject: [PATCH] COMMON: Fix MSVC warning in PEResources::parseResourceLevel() --- common/winexe_pe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/winexe_pe.cpp b/common/winexe_pe.cpp index 17db004bfc9..99d44cabbdb 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;