Commit 3237de10 authored by David Thompson's avatar David Thompson
Browse files

Eliminate a compiler warning (Xcode 8.3).

parent 66d1ea0b
...@@ -238,7 +238,7 @@ T vtkCMBApplyBathymetryFilter::vtkCmbInternalTerrainInfo::getElevation( ...@@ -238,7 +238,7 @@ T vtkCMBApplyBathymetryFilter::vtkCmbInternalTerrainInfo::getElevation(
for ( vtkIdType i=0; i < size; ++i) for ( vtkIdType i=0; i < size; ++i)
{ {
//average the elevation //average the elevation
assert(ids->GetId(i)<this->IdToElevation.size()); assert(ids->GetId(i) < static_cast<vtkIdType>(this->IdToElevation.size()));
sum += this->IdToElevation[ids->GetId(i)]; sum += this->IdToElevation[ids->GetId(i)];
} }
ids->Delete(); ids->Delete();
......
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