Commit e95e2f78 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

vtkMPASReader: fix signed/unsigned comparison warnings

Introduced in !4741.
parent 783312e1
......@@ -769,8 +769,8 @@ int vtkMPASReader::Internal::LoadPointVarDataImpl(int nc_var, vtkDataArray *arra
if (!reader->ShowMultilayerView)
{
k = reader->PointMap[j - reader->NumberOfPoints - reader->PointOffset];
assert(j < array->GetNumberOfTuples());
assert(k < array->GetNumberOfTuples());
assert(j < static_cast<size_t>(array->GetNumberOfTuples()));
assert(k < static_cast<size_t>(array->GetNumberOfTuples()));
dataBlock[j] = dataBlock[k];
}
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