From e894a3753b45639bdaa69e0f9c613a6cb0984c49 Mon Sep 17 00:00:00 2001 From: Sinan Kaya Date: Sat, 30 Mar 2019 14:14:20 +0000 Subject: Fix conversion warning --- src/utilcode/pedecoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utilcode') diff --git a/src/utilcode/pedecoder.cpp b/src/utilcode/pedecoder.cpp index c0d0d6191a..13d1d27b32 100644 --- a/src/utilcode/pedecoder.cpp +++ b/src/utilcode/pedecoder.cpp @@ -1822,7 +1822,7 @@ DWORD PEDecoder::ReadResourceDictionary(DWORD rvaOfResourceSection, DWORD rva, L if (((UINT_PTR)name) <= 0xFFFF) { // name is id - if (pDirectoryEntries[iEntry].Name == (DWORD)name) + if (pDirectoryEntries[iEntry].Name == (DWORD)(SIZE_T)name) foundEntry = TRUE; } else -- cgit v1.2.3