From: Mark Probst Date: Fri, 15 Jan 2016 01:52:41 +0000 (-0800) Subject: [sgen] Add necessary type cast. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=bf6787a531e42841b1f0695331e7d321997f218d;p=mono.git [sgen] Add necessary type cast. --- diff --git a/mono/metadata/sgen-mono.c b/mono/metadata/sgen-mono.c index 74ee377c49a..8f86228dce1 100644 --- a/mono/metadata/sgen-mono.c +++ b/mono/metadata/sgen-mono.c @@ -2738,7 +2738,7 @@ sgen_client_degraded_allocation (size_t size) static int last_major_gc_warned = -1; static int num_degraded = 0; - if (last_major_gc_warned < gc_stats.major_gc_count) { + if (last_major_gc_warned < (int)gc_stats.major_gc_count) { ++num_degraded; if (num_degraded == 1 || num_degraded == 3) mono_trace (G_LOG_LEVEL_INFO, MONO_TRACE_GC, "Warning: Degraded allocation. Consider increasing nursery-size if the warning persists.");