From: Simon Rit Date: Thu, 23 Jun 2011 17:46:07 +0000 (+0200) Subject: Portability issue X-Git-Tag: v1.3.0~309 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=4e77bf90e0683adc24bdf3031b256a807dbd799f;p=clitk.git Portability issue --- diff --git a/tools/clitkMeshViewer.cxx b/tools/clitkMeshViewer.cxx index 3cfffbb..c21bc4e 100644 --- a/tools/clitkMeshViewer.cxx +++ b/tools/clitkMeshViewer.cxx @@ -75,7 +75,7 @@ public: m_rActors[m_CurrentActor]->SetVisibility(0); - int step = round(m_Fps * info->AnimationTime); + int step = lrint(m_Fps * info->AnimationTime); int actor = step % m_rActors.size(); //if (actor != m_CurrentActor) std::cout << "Showing frame: " << m_CurrentActor << std::endl;