diff --git a/Src/Base/AMReX_PODVector.H b/Src/Base/AMReX_PODVector.H index ac8bc18bfe4..435ac287752 100644 --- a/Src/Base/AMReX_PODVector.H +++ b/Src/Base/AMReX_PODVector.H @@ -621,7 +621,7 @@ namespace amrex while (new_capacity < (capacity() + a_num_to_be_added)) { new_capacity = static_cast( - VectorGrowthStrategy::GetGrowthFactor() * (new_capacity + 1)); + VectorGrowthStrategy::GetGrowthFactor() * static_cast(new_capacity + 1)); } return new_capacity;