changeset 1310:cb51d061cc25 import-audio-data

Fix compiler warning
author Chris Cannam
date Thu, 28 Jun 2018 14:48:35 +0100
parents 13e17e61f898
children 43a28a52f8ab
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();