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_Tree_Item.H | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'FL/Fl_Tree_Item.H') diff --git a/FL/Fl_Tree_Item.H b/FL/Fl_Tree_Item.H index 8cdd6ee10..620fb7dc5 100644 --- a/FL/Fl_Tree_Item.H +++ b/FL/Fl_Tree_Item.H @@ -349,7 +349,7 @@ public: } /// See if the item is selected. char is_selected() const { - return(is_flag(SELECTED)); + return (char)is_flag(SELECTED); } /// Change the item's activation state to the optionally specified 'val'. /// @@ -378,7 +378,7 @@ public: } /// See if the item is activated. char is_activated() const { - return(is_flag(ACTIVE)); + return (char)is_flag(ACTIVE); } /// See if the item is activated. Alias for is_activated(). char is_active() const { -- cgit v1.2.3