test/hotspot/gtest/metaspace/test_virtualspacenode.cpp
branchstuefe-new-metaspace-branch
changeset 58099 5aeb07390c74
parent 58063 bdf136b8ae0e
child 59135 84464aa83a29
--- a/test/hotspot/gtest/metaspace/test_virtualspacenode.cpp	Wed Sep 11 17:36:28 2019 +0200
+++ b/test/hotspot/gtest/metaspace/test_virtualspacenode.cpp	Thu Sep 12 07:57:00 2019 +0200
@@ -410,7 +410,7 @@
     // To capture split-off chunks. Note: it is okay to use this here as a temp object.
     MetachunkListCluster freelist;
 
-    const int granules_per_root_chunk = c->word_size() / Settings::commit_granule_words();
+    const int granules_per_root_chunk = (int)(c->word_size() / Settings::commit_granule_words());
 
     for (int granules_to_commit = 0; granules_to_commit < granules_per_root_chunk; granules_to_commit ++) {