hotspot/src/share/vm/oops/methodCounters.hpp
changeset 46618 d503911aa948
parent 44630 54aa492f2b19
child 46619 a3919f5e8d2b
--- a/hotspot/src/share/vm/oops/methodCounters.hpp	Wed Apr 12 13:05:59 2017 +0200
+++ b/hotspot/src/share/vm/oops/methodCounters.hpp	Wed Apr 12 17:53:18 2017 +0200
@@ -118,7 +118,7 @@
   AOT_ONLY(Method* method() const { return _method; })
 
   static int size() {
-    return align_size_up(sizeof(MethodCounters), wordSize) / wordSize;
+    return align_size_up((int)sizeof(MethodCounters), wordSize) / wordSize;
   }
 
   void clear_counters();