Commit 3d195c2d authored by Ken Martin's avatar Ken Martin Committed by Kitware Robot
Browse files

Merge topic 'mpas-reader-warnings'

e95e2f78

 vtkMPASReader: fix signed/unsigned comparison warnings
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !4798
parents 77328da6 e95e2f78
......@@ -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