diff options
| author | MatthiasWM <visualc.git@matthiasm.com> | 2025-10-31 19:15:38 +0100 |
|---|---|---|
| committer | MatthiasWM <visualc.git@matthiasm.com> | 2025-10-31 19:15:38 +0100 |
| commit | 1ba957eb6096c1df1e6476cccea5dbd3ec3b189d (patch) | |
| tree | e4984feeb107dbb34682595e2252361d455b15ac /FL/Fl_Menu_.H | |
| parent | 7500b3c5400fa9be56586817dba273d6fe88c68b (diff) | |
Fix MSVC Level 4 warnings (#1126)
Diffstat (limited to 'FL/Fl_Menu_.H')
| -rw-r--r-- | FL/Fl_Menu_.H | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_Menu_.H b/FL/Fl_Menu_.H index b89949c16..f0ddf59d7 100644 --- a/FL/Fl_Menu_.H +++ b/FL/Fl_Menu_.H @@ -232,7 +232,7 @@ public: */ Fl_Boxtype down_box() const {return (Fl_Boxtype)down_box_;} /** Sets the box type used to surround the currently-selected items in the menus. */ - void down_box(Fl_Boxtype b) {down_box_ = b;} + void down_box(Fl_Boxtype b) {down_box_ = (uchar)b;} /** Get the box type for the menu popup windows. \return the box type, or FL_NO_BOX if Fl_Menu_::box() is to be used instead |
