X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fgentime.cpp;h=760d988885f0dc74b0b95e574fbfadbe861f3aef;hb=e64db9c94ec67897bc467735eddfcf9bc44b98bc;hp=a962e20e3c15332569891fe118bd4d67c50ecbab;hpb=1ecbd5b62783247938e9873868e6ce625ef23b6c;p=kdenlive diff --git a/src/gentime.cpp b/src/gentime.cpp index a962e20e..760d9888 100644 --- a/src/gentime.cpp +++ b/src/gentime.cpp @@ -46,7 +46,7 @@ double GenTime::ms() const /** Returns the time in frames, after being given the number of frames per second */ double GenTime::frames(double framesPerSecond) const { - return (int) floor(m_time * framesPerSecond + 0.5); + return floor(m_time * framesPerSecond + 0.5); } GenTime::~GenTime()