changeset 5130:699a0d90d7f4

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 e2533d62ca88
children 6ae83ea003fd
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	Tue Jun 03 09:59:36 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 {