diff options
author | Rob S. <devnull@localhost> | 2011-05-16 23:31:32 +0000 |
---|---|---|
committer | Rob S. <devnull@localhost> | 2011-05-16 23:31:32 +0000 |
commit | bba790ba11eeccf894fdb3f774fa40bfd32ef9e0 (patch) | |
tree | cdc2d34c99f385da18c03a1ade3509461b218c48 | |
parent | f4bcf3d4c1f499fac37fbca0de2b2cb253313d28 (diff) |
cast
-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() |