# HG changeset patch # User Chris Cannam # Date 1530193715 -3600 # Node ID cb51d061cc25c10c630b5880c54da0f0b479d8f9 # Parent 13e17e61f898c227073af290e090071b408e809d Fix compiler warning diff -r 13e17e61f898 -r cb51d061cc25 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();