Commit 12632de3 authored by Matt Larsen's avatar Matt Larsen

Casting Uint64 to long long

parent ecc12ddd
......@@ -356,7 +356,7 @@ private:
VTKM_EXEC_EXPORT
vtkm::UInt64 vtkmAtomicAdd(vtkm::UInt64 *address, const vtkm::UInt64 &value) const
{
return InterlockedExchangeAdd64(reinterpret_cast<volatile unsigned long long *>(address),value);
return InterlockedExchangeAdd64(reinterpret_cast<volatile long long *>(address),value);
}
#else //gcc built-in atomics
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment