mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Clang: Fix warnings when building with clang 10
This commit is contained in:
parent
286bb40a9e
commit
394c4fd475
144 changed files with 896 additions and 839 deletions
|
|
@ -115,7 +115,7 @@ public:
|
|||
|
||||
sliderPos = (sliderPos - minSliderPos) / static_cast<float> (width);
|
||||
|
||||
auto knobPos = static_cast<int> (sliderPos * r.getWidth());
|
||||
auto knobPos = static_cast<int> (sliderPos * (float) r.getWidth());
|
||||
|
||||
g.setColour (sliderActivePart);
|
||||
g.fillRect (backgroundBar.removeFromLeft (knobPos));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue