changeset 17961:7f1743e1a14e

8043206: Fix signed vs. unsigned comparison warning in copy_sparc.hpp Reviewed-by: coleenp, lfoltan, kvn
author mikael
date Tue, 27 May 2014 16:05:29 -0700
parents cdf27f6a6d01
children f644f1468780
files src/cpu/sparc/vm/copy_sparc.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/sparc/vm/copy_sparc.hpp	Mon Jun 02 13:12:01 2014 -0700
+++ b/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 {