Commit 77426f04 authored by Robert Maynard's avatar Robert Maynard

Correct casting long to long long warning from clang.

parent d0d33f98
......@@ -224,10 +224,11 @@ void StorageBasicBase::AllocateValues(vtkm::Id numberOfValues, vtkm::UInt64 size
vtkm::cont::GetSizeString(allocsize).c_str());
throw vtkm::cont::ErrorBadAllocation("Could not allocate basic control array.");
}
VTKM_LOG_F(vtkm::cont::LogLevel::MemCont,
"Allocated control array of %s. [element count %llu]",
vtkm::cont::GetSizeString(allocsize).c_str(),
static_cast<std::int64_t>(numberOfValues));
VTKM_LOG_S(vtkm::cont::LogLevel::MemCont,
"Allocated control array of " << vtkm::cont::GetSizeString(allocsize).c_str()
<< ". [element count "
<< static_cast<std::int64_t>(numberOfValues)
<< "]");
}
else
{
......
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