]> Creatis software - clitk.git/blobdiff - vv/vvSlicer.h
add missing "allocate"
[clitk.git] / vv / vvSlicer.h
index 3ccf8effcdb4e49206e577620255b4361ef2e0b5..d4ac4dcae2428aafc905a0a5da444106c744e82b 100644 (file)
@@ -97,7 +97,7 @@ public:
     ///Reimplemented from vtkImageViewer2 to add polydata support
     void SetSlice(int s);
     int GetTMax() {
-        return mImage->GetVTKImages().size() - 1;
+        return (unsigned int)mImage->GetVTKImages().size() - 1;
     }
 
     void SetOpacity(double s);