summaryrefslogtreecommitdiff
path: root/FL/Fl_Table.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_Table.H
parent7500b3c5400fa9be56586817dba273d6fe88c68b (diff)
Fix MSVC Level 4 warnings (#1126)
Diffstat (limited to 'FL/Fl_Table.H')
-rw-r--r--FL/Fl_Table.H8
1 files changed, 4 insertions, 4 deletions
diff --git a/FL/Fl_Table.H b/FL/Fl_Table.H
index 2abd685c8..3e3c1d695 100644
--- a/FL/Fl_Table.H
+++ b/FL/Fl_Table.H
@@ -514,7 +514,7 @@ public:
row_header() must also be enabled to allow resizing.
*/
void row_resize(int flag) { // enable row resizing
- _row_resize = flag;
+ _row_resize = (char)flag;
}
/**
@@ -531,7 +531,7 @@ public:
\p col_header() must also be enabled to allow resizing.
*/
void col_resize(int flag) { // enable col resizing
- _col_resize = flag;
+ _col_resize = (char)flag;
}
/**
@@ -578,7 +578,7 @@ public:
If changed, the table is redrawn.
*/
void row_header(int flag) {
- _row_header = flag;
+ _row_header = (char)flag;
table_resized();
redraw();
}
@@ -595,7 +595,7 @@ public:
If changed, the table is redrawn.
*/
void col_header(int flag) {
- _col_header = flag;
+ _col_header = (char)flag;
table_resized();
redraw();
}