diff options
Diffstat (limited to 'src/clientmedia.h')
-rw-r--r-- | src/clientmedia.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/clientmedia.h b/src/clientmedia.h index 1834fb67f..d6eaf4c72 100644 --- a/src/clientmedia.h +++ b/src/clientmedia.h @@ -42,10 +42,10 @@ public: float getProgress() const { if (m_uncached_count >= 1) - return 1.0 * m_uncached_received_count / + return 1.0f * m_uncached_received_count / m_uncached_count; - else - return 0.0; + + return 0.0f; } bool isStarted() const { |