X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvSurfaceViewerDialog.cxx;h=0645ccfa95e8ea3c16d5c959a2cb35d6f7afd5e5;hb=cf35c87a6dd45a7daf171d2adca9766846a0f127;hp=d39ad253f08c30d6a902721784cbdfe41cd4b331;hpb=1e034c70105f0926939acaaa27ddb46e904ae8bf;p=clitk.git diff --git a/vv/vvSurfaceViewerDialog.cxx b/vv/vvSurfaceViewerDialog.cxx index d39ad25..0645ccf 100644 --- a/vv/vvSurfaceViewerDialog.cxx +++ b/vv/vvSurfaceViewerDialog.cxx @@ -3,7 +3,7 @@ Authors belong to: - University of LYON http://www.universite-lyon.fr/ - - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even @@ -14,7 +14,7 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -======================================================================-====*/ +===========================================================================**/ #ifndef _vvSurfaceViewerDialog_CXX #define _vvSurfaceViewerDialog_CXX #include @@ -149,7 +149,7 @@ void vvSurfaceViewerDialog::PreviousTime() { mCurrentTime--; if (mCurrentTime < 0) - mCurrentTime = mReaders.size() - 1; + mCurrentTime = (unsigned int) mReaders.size() - 1; mMapper->SetInput(mReaders[mCurrentTime]->GetOutput()); mMapper->Modified(); renderWidget->GetRenderWindow()->Render();