mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Correct casting warning in AtomicArrayExecutionObject
Fixes a warning introduced by !2282
This commit is contained in:
parent
0c8cd26199
commit
fa42c9a55c
@ -106,7 +106,7 @@ public:
|
||||
// We'll cast the signed types to unsigned to work around this.
|
||||
using APIType = typename detail::MakeUnsigned<ValueType>::type;
|
||||
|
||||
return static_cast<T>(vtkm::AtomicLoad(reinterpret_cast<APIType* const>(this->Data + index)));
|
||||
return static_cast<T>(vtkm::AtomicLoad(reinterpret_cast<APIType*>(this->Data + index)));
|
||||
}
|
||||
|
||||
/// \brief Peform an atomic addition with sequentially consistent memory
|
||||
|
Loading…
Reference in New Issue
Block a user