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_Tree_Item.H | |
| parent | 7500b3c5400fa9be56586817dba273d6fe88c68b (diff) | |
Fix MSVC Level 4 warnings (#1126)
Diffstat (limited to 'FL/Fl_Tree_Item.H')
| -rw-r--r-- | FL/Fl_Tree_Item.H | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |
