src/hotspot/share/gc/z/zStat.cpp
changeset 58237 944b58cbaf93
parent 58235 932b94295034
child 58679 9c3209ff7550
child 58701 5d10ba4a0468
--- a/src/hotspot/share/gc/z/zStat.cpp	Tue Sep 10 17:07:02 2019 +0200
+++ b/src/hotspot/share/gc/z/zStat.cpp	Wed Sep 11 09:47:42 2019 +0200
@@ -354,7 +354,7 @@
 
 void ZStatValue::initialize() {
   // Finalize and align CPU offset
-  _cpu_offset = align_up(_cpu_offset, ZCacheLineSize);
+  _cpu_offset = align_up(_cpu_offset, (uint32_t)ZCacheLineSize);
 
   // Allocation aligned memory
   const size_t size = _cpu_offset * ZCPU::count();