diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2019-03-11 16:08:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-11 16:08:50 +0100 |
commit | f9820b7c45ed1ae99fef54944727e98bacbd2a2a (patch) | |
tree | 878e92193d8fdcf641ac689051a14695a9a8d6d4 /src/vm/jithelpers.cpp | |
parent | 123422de218d6ca5c36cbb7f34ece95dcae333da (diff) | |
parent | 5a97d8e9f14763a4ff90d14d045f0173e8d4b944 (diff) | |
download | coreclr-f9820b7c45ed1ae99fef54944727e98bacbd2a2a.tar.gz coreclr-f9820b7c45ed1ae99fef54944727e98bacbd2a2a.tar.bz2 coreclr-f9820b7c45ed1ae99fef54944727e98bacbd2a2a.zip |
Merge pull request #23093 from franksinankaya/gcc_warnings_9
GCC Signed compare and Narrowing warnings
Diffstat (limited to 'src/vm/jithelpers.cpp')
-rw-r--r-- | src/vm/jithelpers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/jithelpers.cpp b/src/vm/jithelpers.cpp index 04de717cce..303f06130f 100644 --- a/src/vm/jithelpers.cpp +++ b/src/vm/jithelpers.cpp @@ -3834,7 +3834,7 @@ CORINFO_GENERIC_HANDLE JIT_GenericHandleWorker(MethodDesc * pMD, MethodTable * p { #ifdef _DEBUG // Only in R2R mode are the module, dictionary index and dictionary slot provided as an input - _ASSERTE(dictionaryIndexAndSlot != -1); + _ASSERTE(dictionaryIndexAndSlot != (DWORD)-1); _ASSERT(ExecutionManager::FindReadyToRunModule(dac_cast<TADDR>(signature)) == pModule); #endif dictionaryIndex = (dictionaryIndexAndSlot >> 16); @@ -3853,7 +3853,7 @@ CORINFO_GENERIC_HANDLE JIT_GenericHandleWorker(MethodDesc * pMD, MethodTable * p // prepare for every possible derived type of the type containing the method). So instead we have to locate the exactly // instantiated (non-shared) super-type of the class passed in. - _ASSERTE(dictionaryIndexAndSlot == -1); + _ASSERTE(dictionaryIndexAndSlot == (DWORD)-1); IfFailThrow(ptr.GetData(&dictionaryIndex)); } |