summaryrefslogtreecommitdiff
path: root/FL/Fl_Slider.H
diff options
context:
space:
mode:
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