From 1ba957eb6096c1df1e6476cccea5dbd3ec3b189d Mon Sep 17 00:00:00 2001 From: MatthiasWM Date: Fri, 31 Oct 2025 19:15:38 +0100 Subject: Fix MSVC Level 4 warnings (#1126) --- FL/Fl_Menu_.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FL/Fl_Menu_.H') 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 -- cgit v1.2.3