# HG changeset patch
# User Chris Cannam
# Date 1530193715 -3600
# Node ID be935f9b2ae6f19a3bb0ae22259d663a9e3bc210
# Parent  13e17e61f898c227073af290e090071b408e809d
Fix compiler warning

diff -r 13e17e61f898 -r be935f9b2ae6 widgets/Panner.cpp
--- 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();