summaryrefslogtreecommitdiff
path: root/test/table.cxx
diff options
context:
space:
mode:
authoryuri <yuri>2009-11-17 00:04:50 +0000
committeryuri <yuri>2009-11-17 00:04:50 +0000
commit7c3dad02eba805022da2f1c230e62aea84a6ba50 (patch)
tree9fbe88b47cb101a52b6be52e4949b209b1544f58 /test/table.cxx
parentdbd1dcde3c4a50c075e8f6224983a043c4f9f967 (diff)
fix 64 bit build
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6938 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/table.cxx')
-rw-r--r--test/table.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/table.cxx b/test/table.cxx
index eab8b69bb..52e2cf794 100644
--- a/test/table.cxx
+++ b/test/table.cxx
@@ -273,19 +273,19 @@ char *itoa(int val)
void tablebox_choice_cb(Fl_Widget *w, void *data)
{
- G_table->table_box((Fl_Boxtype)(int)data);
+ G_table->table_box((Fl_Boxtype)(long)data);
G_table->redraw();
}
void widgetbox_choice_cb(Fl_Widget *w, void *data)
{
- G_table->box((Fl_Boxtype)(int)data);
+ G_table->box((Fl_Boxtype)(long)data);
G_table->resize(G_table->x(), G_table->y(), G_table->w(), G_table->h());
}
void type_choice_cb(Fl_Widget *w, void *data)
{
- G_table->type((Fl_Table_Row::TableRowSelectMode)(int)data);
+ G_table->type((Fl_Table_Row::TableRowSelectMode)(long)data);
}
Fl_Menu_Item tablebox_choices[] = {