summaryrefslogtreecommitdiff
path: root/FL/Fl_Grid.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_Grid.H
parent7500b3c5400fa9be56586817dba273d6fe88c68b (diff)
Fix MSVC Level 4 warnings (#1126)
Diffstat (limited to 'FL/Fl_Grid.H')
-rw-r--r--FL/Fl_Grid.H8
1 files changed, 4 insertions, 4 deletions
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;
}
/**