hotspot/src/share/vm/oops/constMethod.hpp
changeset 46618 d503911aa948
parent 44524 b0d3e8ba6f27
child 46619 a3919f5e8d2b
--- a/hotspot/src/share/vm/oops/constMethod.hpp	Wed Apr 12 13:05:59 2017 +0200
+++ b/hotspot/src/share/vm/oops/constMethod.hpp	Wed Apr 12 17:53:18 2017 +0200
@@ -360,7 +360,7 @@
 
   // Sizing
   static int header_size() {
-    return align_size_up(sizeof(ConstMethod), wordSize) / wordSize;
+    return align_size_up((int)sizeof(ConstMethod), wordSize) / wordSize;
   }
 
   // Size needed