From 90ba800e1b4eb432c8017fc473fa0fa855ef3b44 Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Thu, 29 Mar 2012 17:54:35 +0200 Subject: [PATCH] Fixed two more casting errors (signed / unsigned) in sf::Time --- src/SFML/System/Time.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SFML/System/Time.cpp b/src/SFML/System/Time.cpp index b4e9ccbe..94b74308 100644 --- a/src/SFML/System/Time.cpp +++ b/src/SFML/System/Time.cpp @@ -72,14 +72,14 @@ m_microseconds(microseconds) //////////////////////////////////////////////////////////// Time seconds(float amount) { - return Time(static_cast(amount * 1000000)); + return Time(static_cast(amount * 1000000)); } //////////////////////////////////////////////////////////// Time milliseconds(Int32 amount) { - return Time(static_cast(amount) * 1000); + return Time(static_cast(amount) * 1000); }