diff options
Diffstat (limited to 'test/cursor.cxx')
| -rw-r--r-- | test/cursor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cursor.cxx b/test/cursor.cxx index 190cdc157..5b6c4e4b7 100644 --- a/test/cursor.cxx +++ b/test/cursor.cxx @@ -39,7 +39,7 @@ Fl_Cursor cursor = FL_CURSOR_DEFAULT; Fl_Hor_Value_Slider *cursor_slider; void choice_cb(Fl_Widget *, void *v) { - cursor = (Fl_Cursor)(int)v; + cursor = (Fl_Cursor)(long)v; cursor_slider->value(cursor); fl_cursor(cursor,fg,bg); } |
