X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2FContour%2FContourPropagation.cxx;h=bf826b1e92e54d599f558f44d0f27cf51003b645;hb=4b092ee0b1bcda4d298e5ffc3b58b599e273db20;hp=75fcb055afe354a62fed67924cf8ca971317bb15;hpb=e59fe4a0a69ae0180c502e68c57faff544b935ca;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourPropagation.cxx b/lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourPropagation.cxx index 75fcb05..bf826b1 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourPropagation.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourPropagation.cxx @@ -119,7 +119,7 @@ bool ContourPropagation::mustOrderAppend() { //ASCENDING j=0; - for(i=0; i<_InS.size()-1; i++) + for(i=0; i<(int)(_InS.size())-1; i++) { if(_InZ[j]>_InZ[j+_InS[i]]) { @@ -131,7 +131,7 @@ bool ContourPropagation::mustOrderAppend() if(orderA == false) { j=0; - for(i=0; i<_InS.size()-1; i++) + for(i=0; i<(int)(_InS.size())-1; i++) { if(_InZ[j]<_InZ[j+_InS[i]]) { @@ -175,7 +175,7 @@ void ContourPropagation::orderAppend() tempZ.clear(); tempS.clear(); cont = 0; - for(i=0; i<_InS.size()-1; i++) + for(i=0; i<(int)(_InS.size())-1; i++) { if(_InZ[cont]<_InZ[cont+_InS[i]]) { @@ -221,7 +221,7 @@ void ContourPropagation::orderAppend() vf->copyVector(&tempY,&_InY); vf->copyVector(&tempZ,&_InZ); delete vf; - for(i=0; i