Index: trunk/src/gfx/keyframed_mesh.cc
===================================================================
--- trunk/src/gfx/keyframed_mesh.cc	(revision 161)
+++ trunk/src/gfx/keyframed_mesh.cc	(revision 183)
@@ -105,5 +105,5 @@
 			if ( m_looping )
 			{
-				uint32 left = m_time - f_max;
+				uint32 left = m_time - static_cast< uint32 >( f_max );
 				m_time = 0;
 				update( left );
