LookAndFeel_V3::drawLinearSlider() warning


#1

In VC2012, Windows 8, Commit af55d14

height is an integer… just needs to be cast to float…

drawButtonShape (g, p, slider.findColour (Slider::thumbColourId) .withMultipliedSaturation (slider.isEnabled() ? 1.0f : 0.5f) .withMultipliedAlpha (0.8f), (float)height);

juce_LookAndFeel_V3.cpp(386): warning C4244: ‘argument’ : conversion from ‘int’ to ‘float’, possible loss of data (…\JuceLibraryCode\modules\juce_gui_basics\juce_gui_basics.cpp)

Rail


#2

Yeah, already did that this morning, thanks!