Author: yuri
Date: 2009-11-16 16:04:50 -0800 (Mon, 16 Nov 2009)
New Revision: 6938
Log:
fix 64 bit build
Modified:
branches/branch-1.3/test/table.cxx
branches/branch-1.3/test/tree.cxx
Modified: branches/branch-1.3/test/table.cxx
===================================================================
--- branches/branch-1.3/test/table.cxx 2009-11-16 22:52:42 UTC (rev 6937)
+++ branches/branch-1.3/test/table.cxx 2009-11-17 00:04:50 UTC (rev 6938)
@@ -273,19 +273,19 @@
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[] = {
Modified: branches/branch-1.3/test/tree.cxx
===================================================================
--- branches/branch-1.3/test/tree.cxx 2009-11-16 22:52:42 UTC (rev 6937)
+++ branches/branch-1.3/test/tree.cxx 2009-11-17 00:04:50 UTC (rev 6938)
@@ -92,7 +92,7 @@
//tree->redraw();
fprintf(stderr, "TREE CALLBACK: label='%s' userdata=%d\n",
item->label(),
- (int)tree->user_data());
+ (long)tree->user_data());
}
Fl_Value_Slider *labelsize_slider=(Fl_Value_Slider *)0;
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit