Silence compiler errors about argument() conversion to Fl_Align

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7709 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Greg Ercolano 2010-10-01 02:45:57 +00:00
parent bc224390ea
commit 56c6a5b12a

View File

@ -1176,7 +1176,7 @@ void align_position_cb(Fl_Choice *i, void *v) {
Fl_Menu_Item *mi = (Fl_Menu_Item*)i->menu();
Fl_Align b = current_widget->o->align() & FL_ALIGN_POSITION_MASK;
for (;mi->text;mi++) {
if (mi->argument()==b)
if ((Fl_Align)(mi->argument())==b)
i->value(mi);
}
} else {
@ -1205,7 +1205,7 @@ void align_text_image_cb(Fl_Choice *i, void *v) {
Fl_Menu_Item *mi = (Fl_Menu_Item*)i->menu();
Fl_Align b = current_widget->o->align() & FL_ALIGN_IMAGE_MASK;
for (;mi->text;mi++) {
if (mi->argument()==b)
if ((Fl_Align)(mi->argument())==b)
i->value(mi);
}
} else {