]> Creatis software - clitk.git/blobdiff - vv/vvMainWindow.cxx
better manage resizing roi tool
[clitk.git] / vv / vvMainWindow.cxx
index 89a888456e6a37a38fb53c4efcd4ac5b638a2286..1c9765efbbb37983a293ffd37f72abc9768c6e0e 100644 (file)
@@ -792,7 +792,7 @@ void vvMainWindow::LoadImages(std::vector<std::string> files, LoadedImageType fi
     progress.SetProgress(i,fileSize);
     qApp->processEvents();
 
-    for (int j = 0; j < nSlices[i]; j++) {
+    for (unsigned int j = 0; j < nSlices[i]; j++) {
       //read the image and put it in mSlicerManagers
       vvSlicerManager* imageManager = new vvSlicerManager(4);
       qApp->processEvents();