summaryrefslogtreecommitdiff
path: root/FL/Fl_Tree_Item.H
diff options
context:
space:
mode:
authorMatthiasWM <visualc.git@matthiasm.com>2025-10-31 19:15:38 +0100
committerMatthiasWM <visualc.git@matthiasm.com>2025-10-31 19:15:38 +0100
commit1ba957eb6096c1df1e6476cccea5dbd3ec3b189d (patch)
treee4984feeb107dbb34682595e2252361d455b15ac /FL/Fl_Tree_Item.H
parent7500b3c5400fa9be56586817dba273d6fe88c68b (diff)
Fix MSVC Level 4 warnings (#1126)
Diffstat (limited to 'FL/Fl_Tree_Item.H')
-rw-r--r--FL/Fl_Tree_Item.H4
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 {