]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/Contour/AutoControlPoints.cxx
BUG view MPR
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / Contour / AutoControlPoints.cxx
index c17c1c5a2d0ac25939cb472ed0d3d6a79b443141..35936e10d1683b3bedefa39c0dce8fbdacc5f2ea 100644 (file)
@@ -322,7 +322,7 @@ void AutoControlPoints::InterCircle(std::vector<double>*InX, std::vector<double>
                _circleY.push_back(tempY[i]);
                m1 = Slope(tempX[i],tempY[i],cx,cy);//slope of the radius
                min = 9999;
-               for(j=0; j<InX->size(); j++)
+               for(j=0; j<(int)(InX->size()); j++)
                {
                        jj = (j+1)%(InX->size());
                        m2 = Slope((*InX)[j],(*InY)[j],(*InX)[jj],(*InY)[jj]);//Slope of the vector between the adjacent points