COMP: Update OpenIGTLinkIF to fix sign-compare warnings
//-----------
Author: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
Date: Tue Feb 3 00:27:38 2015 -0500
COMP: Fix sign-compare warnings in vtkIGTLToMRMLPolyData::IGTLToMRML
This commit fixes the following warnings:
//------------
/path/to/OpenIGTLinkIF/MRML/vtkIGTLToMRMLPolyData.cxx: In member function ‘virtual int vtkIGTLToMRMLPolyData::IGTLToMRML(igtl::MessageBase::Pointer, vtkMRMLNode*)’:
/path/to/OpenIGTLinkIF/MRML/vtkIGTLToMRMLPolyData.cxx:171:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (unsigned int i = 0; i < npoints; i ++)
^
/path/to/OpenIGTLinkIF/MRML/vtkIGTLToMRMLPolyData.cxx:190:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (unsigned int i = 0; i < nvertices; i ++)
^
/path/to/OpenIGTLinkIF/MRML/vtkIGTLToMRMLPolyData.cxx:213:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned int i = 0; i < nlines; i++)
^
/path/to/OpenIGTLinkIF/MRML/vtkIGTLToMRMLPolyData.cxx:238:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned int i = 0; i < npolygons; i++)
^
/path/to/OpenIGTLinkIF/MRML/vtkIGTLToMRMLPolyData.cxx:263:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned int i = 0; i < ntstrips; i++)
^
/path/to/OpenIGTLinkIF/MRML/vtkIGTLToMRMLPolyData.cxx: In member function ‘virtual int vtkIGTLToMRMLPolyData::MRMLToIGTL(long unsigned int, vtkMRMLNode*, int*, void**)’:
/path/to/OpenIGTLinkIF/MRML/vtkIGTLToMRMLPolyData.cxx:399:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (unsigned int i = 0; i < npoints; i ++)
//------------
//-----------
git-svn-id: http://svn.slicer.org/Slicer4/trunk@23954 3bd1e089-480b-0410-8dfb-8563597acbee |