changeset 1313:be935f9b2ae6

Fix compiler warning
author Chris Cannam
date Thu, 28 Jun 2018 14:48:35 +0100
parents 13e17e61f898
children 769d7890203b
files widgets/Panner.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/widgets/Panner.cpp	Tue Jun 26 14:37:36 2018 +0100
+++ b/widgets/Panner.cpp	Thu Jun 28 14:48:35 2018 +0100
@@ -77,9 +77,9 @@
     }
 
     if (!up) {
-        m_rectY += unit * count;
+        m_rectY += unit * float(count);
     } else {
-        m_rectY -= unit * count;
+        m_rectY -= unit * float(count);
     }
 
     normalise();