hotspot/src/share/vm/prims/jvm.cpp
changeset 46618 d503911aa948
parent 46505 fd4bc78630b1
child 46632 cef226af6c02
--- a/hotspot/src/share/vm/prims/jvm.cpp	Wed Apr 12 13:05:59 2017 +0200
+++ b/hotspot/src/share/vm/prims/jvm.cpp	Wed Apr 12 17:53:18 2017 +0200
@@ -663,7 +663,7 @@
   // variants, and of the code generated by the inline_native_clone intrinsic.
   assert(MinObjAlignmentInBytes >= BytesPerLong, "objects misaligned");
   Copy::conjoint_jlongs_atomic((jlong*)obj(), (jlong*)new_obj_oop,
-                               (size_t)align_object_size(size) / HeapWordsPerLong);
+                               align_object_size(size) / HeapWordsPerLong);
   // Clear the header
   new_obj_oop->init_mark();