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_Grid.H | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'FL/Fl_Grid.H') diff --git a/FL/Fl_Grid.H b/FL/Fl_Grid.H index 5e6c278cd..639988b2f 100644 --- a/FL/Fl_Grid.H +++ b/FL/Fl_Grid.H @@ -177,15 +177,15 @@ public: Cell(int row, int col) { // constructor Cell_(); - row_ = row; - col_ = col; + row_ = (short)row; + col_ = (short)col; } Cell(Fl_Widget *w, int row, int col) { // widget assignment Cell_(); widget_ = w; - row_ = row; - col_ = col; + row_ = (short)row; + col_ = (short)col; } /** -- cgit v1.2.3