Skip to content
Snippets Groups Projects
Commit 4e9e1c15 authored by Marcus D. Hanwell's avatar Marcus D. Hanwell
Browse files

Fixed compiler warning, size_t is not int...

Change-Id: Ifc79954742ca43a89a9fccf87e40a7f1bec8e60c
parent da0126c0
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,7 @@ bool vtkPlotPoints3D::Paint(vtkContext2D *painter)
{
size_t nSelected(static_cast<size_t>(this->Selection->GetNumberOfTuples()));
this->SelectedPoints.reserve(nSelected);
for (int i = 0; i < nSelected; ++i)
for (size_t i = 0; i < nSelected; ++i)
{
this->SelectedPoints.push_back(this->Points[this->Selection->GetValue(i)]);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment