summaryrefslogtreecommitdiff
path: root/src/ToolBox
diff options
context:
space:
mode:
authorSinan Kaya <41809318+franksinankaya@users.noreply.github.com>2019-07-12 15:45:28 -0400
committerJan Vorlicek <janvorli@microsoft.com>2019-07-12 21:45:28 +0200
commit41d0619707a29b910b7d8056a3b5d4423fc928d2 (patch)
tree73a114a011161479621dc46b8a23341ae8e90212 /src/ToolBox
parentdc06f7e63abf644713e60fb1422bd1f28baa766a (diff)
downloadcoreclr-41d0619707a29b910b7d8056a3b5d4423fc928d2.tar.gz
coreclr-41d0619707a29b910b7d8056a3b5d4423fc928d2.tar.bz2
coreclr-41d0619707a29b910b7d8056a3b5d4423fc928d2.zip
Frkaya/gccfix07102019 (#25624)
* Remove duplicate definition * Fix conversion error * 1ui64 doesn't exist on GCC
Diffstat (limited to 'src/ToolBox')
-rw-r--r--src/ToolBox/superpmi/superpmi-shared/methodcontext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ToolBox/superpmi/superpmi-shared/methodcontext.cpp b/src/ToolBox/superpmi/superpmi-shared/methodcontext.cpp
index d7d7ab042e..00b9d1a2ca 100644
--- a/src/ToolBox/superpmi/superpmi-shared/methodcontext.cpp
+++ b/src/ToolBox/superpmi/superpmi-shared/methodcontext.cpp
@@ -4366,7 +4366,7 @@ void MethodContext::recGetFieldType(CORINFO_FIELD_HANDLE field,
// class handle (we use only 'field' and 'memberParent' as keys).
// Update the value in that case.
unsigned index = GetFieldType->GetIndex(key);
- if ((index != -1) && (GetFieldType->GetItem(index).A == 0))
+ if ((index != (unsigned)-1) && (GetFieldType->GetItem(index).A == 0))
{
GetFieldType->Update(index, value);
DEBUG_REC(dmpGetFieldType(key, value));