diff --git a/common/src/KokkosFFT_normalization.hpp b/common/src/KokkosFFT_normalization.hpp index 34ea7b72..363f611d 100644 --- a/common/src/KokkosFFT_normalization.hpp +++ b/common/src/KokkosFFT_normalization.hpp @@ -21,7 +21,7 @@ void normalize_impl(const ExecutionSpace& exec_space, ViewType& inout, "KokkosFFT::normalize", Kokkos::RangePolicy>( exec_space, 0, size), - KOKKOS_LAMBDA(const int& i) { data[i] *= coef; }); + KOKKOS_LAMBDA(std::size_t i) { data[i] *= coef; }); } template diff --git a/common/src/KokkosFFT_padding.hpp b/common/src/KokkosFFT_padding.hpp index fe51e1f3..8a9f47e3 100644 --- a/common/src/KokkosFFT_padding.hpp +++ b/common/src/KokkosFFT_padding.hpp @@ -103,7 +103,7 @@ void crop_or_pad_impl(const ExecutionSpace& exec_space, const InViewType& in, "KokkosFFT::crop_or_pad", Kokkos::RangePolicy>( exec_space, 0, n0), - KOKKOS_LAMBDA(int i0) { out(i0) = in(i0); }); + KOKKOS_LAMBDA(std::size_t i0) { out(i0) = in(i0); }); } template