Tue, 27 May 2014 16:05:29 -0700
8043206: Fix signed vs. unsigned comparison warning in copy_sparc.hpp
Reviewed-by: coleenp, lfoltan, kvn
src/cpu/sparc/vm/copy_sparc.hpp | file | annotate | diff | comparison | revisions |
1.1 --- a/src/cpu/sparc/vm/copy_sparc.hpp Mon Jun 02 13:12:01 2014 -0700 1.2 +++ b/src/cpu/sparc/vm/copy_sparc.hpp Tue May 27 16:05:29 2014 -0700 1.3 @@ -184,7 +184,7 @@ 1.4 assert(MinObjAlignmentInBytes >= BytesPerLong, "need alternate implementation"); 1.5 1.6 if (value == 0 && UseBlockZeroing && 1.7 - (count > (BlockZeroingLowLimit >> LogHeapWordSize))) { 1.8 + (count > (size_t)(BlockZeroingLowLimit >> LogHeapWordSize))) { 1.9 // Call it only when block zeroing is used 1.10 ((_zero_Fn)StubRoutines::zero_aligned_words())(tohw, count); 1.11 } else {