diff --git a/src/hotspot/share/utilities/growableArray.hpp b/src/hotspot/share/utilities/growableArray.hpp index 57ce68645aa..8895ebbc620 100644 --- a/src/hotspot/share/utilities/growableArray.hpp +++ b/src/hotspot/share/utilities/growableArray.hpp @@ -514,7 +514,7 @@ void GrowableArrayWithAllocator::expand_to(int new_capacity) { template void GrowableArrayWithAllocator::grow(int j) { // grow the array by increasing _capacity to the first power of two larger than the size we need - expand_to(next_power_of_2((uint32_t)j)); + expand_to(next_power_of_2(j)); } template