changeset 2026:d488f8eb86e4

cast
author Rob S.
date Mon, 16 May 2011 23:31:32 +0000
parents 2825810bd111
children 2bb1121a1960
files dw/fltkui.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dw/fltkui.cc	Mon May 16 19:51:39 2011 +0000
+++ b/dw/fltkui.cc	Mon May 16 23:31:32 2011 +0000
@@ -1022,7 +1022,7 @@
 
 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()