hotspot/src/share/vm/opto/compile.cpp
changeset 46618 d503911aa948
parent 43456 ff64053e7c5f
child 46619 a3919f5e8d2b
--- a/hotspot/src/share/vm/opto/compile.cpp	Wed Apr 12 13:05:59 2017 +0200
+++ b/hotspot/src/share/vm/opto/compile.cpp	Wed Apr 12 17:53:18 2017 +0200
@@ -3903,7 +3903,7 @@
   // Align size up to the next section start (which is insts; see
   // CodeBuffer::align_at_start).
   assert(_size == -1, "already set?");
-  _size = align_size_up(offset, CodeEntryAlignment);
+  _size = align_size_up(offset, (int)CodeEntryAlignment);
 }
 
 void Compile::ConstantTable::emit(CodeBuffer& cb) {