From 4e77bf90e0683adc24bdf3031b256a807dbd799f Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Thu, 23 Jun 2011 19:46:07 +0200 Subject: [PATCH] Portability issue --- tools/clitkMeshViewer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.1