From 9aa3b9df01b6f222830286845f24bc93cb764cdf Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Wed, 26 Aug 2020 13:10:23 -0400 Subject: [PATCH] DeviceAdapterAlgorithmKokkos correct signed/unsigned warnings --- vtkm/cont/kokkos/internal/DeviceAdapterAlgorithmKokkos.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vtkm/cont/kokkos/internal/DeviceAdapterAlgorithmKokkos.h b/vtkm/cont/kokkos/internal/DeviceAdapterAlgorithmKokkos.h index 24c9e1a5e..a42f3a094 100644 --- a/vtkm/cont/kokkos/internal/DeviceAdapterAlgorithmKokkos.h +++ b/vtkm/cont/kokkos/internal/DeviceAdapterAlgorithmKokkos.h @@ -151,7 +151,7 @@ public: ErrorMessageMaxLength); functor.SetErrorMessageBuffer(errorMessage); - Kokkos::parallel_for(numInstances, functor); + Kokkos::parallel_for(static_cast(numInstances), functor); CheckForErrors(errorMessageStorage); }