Fixed a bug in Time::asMilliseconds

This commit is contained in:
Laurent Gomila 2012-03-29 17:21:10 +02:00
parent 859074b3cc
commit bdf3380cb3

View File

@ -51,7 +51,7 @@ float Time::asSeconds() const
////////////////////////////////////////////////////////////
Int32 Time::asMilliseconds() const
{
return static_cast<Uint32>(m_microseconds / 1000);
return static_cast<Int32>(m_microseconds / 1000);
}