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_Table.H | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'FL/Fl_Table.H') 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(); } -- cgit v1.2.3