diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2010-12-08 14:00:35 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2010-12-08 14:00:35 +0000 |
| commit | 97b4b0c704aef8194ab0f5d814d39452d0b3221f (patch) | |
| tree | 3c916fe9b80941338f730a440309066501dfbb80 /test/table.cxx | |
| parent | ef831abaa73298d9648010d8aede52dc95fcaee1 (diff) | |
Fixed Compiling with mingw-w64 (STR #2308).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7978 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/table.cxx')
| -rw-r--r-- | test/table.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/table.cxx b/test/table.cxx index ec94314c6..c36713ef5 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)(long)data); + G_table->table_box((Fl_Boxtype)(fl_intptr_t)data); G_table->redraw(); } void widgetbox_choice_cb(Fl_Widget *w, void *data) { - G_table->box((Fl_Boxtype)(long)data); + G_table->box((Fl_Boxtype)(fl_intptr_t)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)(long)data); + G_table->type((Fl_Table_Row::TableRowSelectMode)(fl_intptr_t)data); } Fl_Menu_Item tablebox_choices[] = { |
