changeset 5959:551e8602a81d

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 65dabf4942b4
children 8ee36caacf63
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 16 16:27:41 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 {