summaryrefslogtreecommitdiff
path: root/src/utilcode
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2019-04-08 13:24:35 +0200
committerGitHub <noreply@github.com>2019-04-08 13:24:35 +0200
commit9a465e4560db2a6efc711a40a940d3a6eaaf4784 (patch)
treed15fe287b090cd1528dd76cbb23d4ebb7f0fa524 /src/utilcode
parent24c92a5939002ecbadefbc5f93c2c8cc371d8b72 (diff)
parente894a3753b45639bdaa69e0f9c613a6cb0984c49 (diff)
downloadcoreclr-9a465e4560db2a6efc711a40a940d3a6eaaf4784.tar.gz
coreclr-9a465e4560db2a6efc711a40a940d3a6eaaf4784.tar.bz2
coreclr-9a465e4560db2a6efc711a40a940d3a6eaaf4784.zip
Merge pull request #23605 from franksinankaya/gcc_cleanup_17
Fix conversion warning
Diffstat (limited to 'src/utilcode')
-rw-r--r--src/utilcode/pedecoder.cpp2
1 files changed, 1 insertions, 1 deletions
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