summaryrefslogtreecommitdiff
path: root/FL/Fl_Grid.H
diff options
context:
space:
mode:
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;
}
/**