summaryrefslogtreecommitdiff
path: root/src/gc/gc.cpp
diff options
context:
space:
mode:
authorSinan Kaya <sinan.kaya@microsoft.com>2019-03-07 02:25:21 +0000
committerSinan Kaya <sinan.kaya@microsoft.com>2019-03-07 20:17:42 +0000
commit5a97d8e9f14763a4ff90d14d045f0173e8d4b944 (patch)
treecc365cbf3d7ed74e151af38bfc4dd315b780ae51 /src/gc/gc.cpp
parentb1f7195e26d8e0eb310515fe44d02883375c9ec3 (diff)
downloadcoreclr-5a97d8e9f14763a4ff90d14d045f0173e8d4b944.tar.gz
coreclr-5a97d8e9f14763a4ff90d14d045f0173e8d4b944.tar.bz2
coreclr-5a97d8e9f14763a4ff90d14d045f0173e8d4b944.zip
Fix signed compare warnings
warning: comparison between signed and unsigned integer expressions [-Wsign-compare] conversions Update src/ToolBox/superpmi/mcs/verbdumptoc.cpp Co-Authored-By: franksinankaya <41809318+franksinankaya@users.noreply.github.com>
Diffstat (limited to 'src/gc/gc.cpp')
-rw-r--r--src/gc/gc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gc/gc.cpp b/src/gc/gc.cpp
index 95fe21ccb6..316c0b6a15 100644
--- a/src/gc/gc.cpp
+++ b/src/gc/gc.cpp
@@ -24385,7 +24385,7 @@ void gc_heap::relocate_shortened_survivor_helper (uint8_t* plug, uint8_t* plug_e
while (x < plug_end)
{
- if (check_short_obj_p && ((plug_end - x) < min_pre_pin_obj_size))
+ if (check_short_obj_p && ((plug_end - x) < (DWORD)min_pre_pin_obj_size))
{
dprintf (3, ("last obj %Ix is short", x));