From 64b2ea825ed6980a0df326292dc8c07a8a76fd04 Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 27 Nov 2017 12:56:52 +0000 Subject: [PATCH] Fixed a conversion warning --- modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V4.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V4.cpp b/modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V4.cpp index a58da15615..11bde9a26f 100644 --- a/modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V4.cpp +++ b/modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V4.cpp @@ -997,7 +997,7 @@ void LookAndFeel_V4::drawLinearSlider (Graphics& g, int x, int y, int width, int if (! isTwoVal) { g.setColour (slider.findColour (Slider::thumbColourId)); - g.fillEllipse (Rectangle (thumbWidth, thumbWidth).withCentre (isThreeVal ? thumbPoint : maxPoint)); + g.fillEllipse (Rectangle (static_cast (thumbWidth), static_cast (thumbWidth)).withCentre (isThreeVal ? thumbPoint : maxPoint)); } if (isTwoVal || isThreeVal)