summaryrefslogtreecommitdiff
path: root/FL/Fl_Slider.H
diff options
context:
space:
mode:
authorMatthiasWM <visualc.git@matthiasm.com>2025-10-31 19:15:38 +0100
committerMatthiasWM <visualc.git@matthiasm.com>2025-10-31 19:15:38 +0100
commit1ba957eb6096c1df1e6476cccea5dbd3ec3b189d (patch)
treee4984feeb107dbb34682595e2252361d455b15ac /FL/Fl_Slider.H
parent7500b3c5400fa9be56586817dba273d6fe88c68b (diff)
Fix MSVC Level 4 warnings (#1126)
Diffstat (limited to 'FL/Fl_Slider.H')
-rw-r--r--FL/Fl_Slider.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_Slider.H b/FL/Fl_Slider.H
index 030085c22..d1ced6731 100644
--- a/FL/Fl_Slider.H
+++ b/FL/Fl_Slider.H
@@ -99,7 +99,7 @@ public:
Fl_Boxtype slider() const {return (Fl_Boxtype)slider_;}
/** Sets the slider box type. */
- void slider(Fl_Boxtype c) {slider_ = c;}
+ void slider(Fl_Boxtype c) {slider_ = (uchar)c;}
};
#endif