diff options
-rw-r--r-- | dw/fltkui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/fltkui.cc b/dw/fltkui.cc index c29a32ec..4c303e37 100644 --- a/dw/fltkui.cc +++ b/dw/fltkui.cc @@ -1022,7 +1022,7 @@ void FltkOptionMenuResource::popGroup () bool FltkOptionMenuResource::isSelected (int index) { - return index == (int) ((Fl_Choice *)widget)->mvalue()->user_data(); + return index == (long) ((Fl_Choice *)widget)->mvalue()->user_data(); } int FltkOptionMenuResource::getNumberOfItems() |