fix 64 bit build

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6938 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
yuri 2009-11-17 00:04:50 +00:00
parent dbd1dcde3c
commit 7c3dad02eb
2 changed files with 4 additions and 4 deletions

View File

@ -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[] = {

View File

@ -92,7 +92,7 @@ static void cb_tree(Fl_Tree*, void*) {
//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;