8043206: Fix signed vs. unsigned comparison warning in copy_sparc.hpp
authormikael
Tue, 27 May 2014 16:05:29 -0700
changeset 24675 8dd2c4604ff4
parent 24674 dbf660a72081
child 24676 1db7e277df87
8043206: Fix signed vs. unsigned comparison warning in copy_sparc.hpp Reviewed-by: coleenp, lfoltan, kvn
hotspot/src/cpu/sparc/vm/copy_sparc.hpp
--- a/hotspot/src/cpu/sparc/vm/copy_sparc.hpp	Mon May 26 19:05:01 2014 +0400
+++ b/hotspot/src/cpu/sparc/vm/copy_sparc.hpp	Tue May 27 16:05:29 2014 -0700
@@ -184,7 +184,7 @@
   assert(MinObjAlignmentInBytes >= BytesPerLong, "need alternate implementation");
 
   if (value == 0 && UseBlockZeroing &&
-      (count > (BlockZeroingLowLimit >> LogHeapWordSize))) {
+      (count > (size_t)(BlockZeroingLowLimit >> LogHeapWordSize))) {
    // Call it only when block zeroing is used
    ((_zero_Fn)StubRoutines::zero_aligned_words())(tohw, count);
   } else {