diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2010-12-08 14:00:35 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2010-12-08 14:00:35 +0000 |
| commit | 97b4b0c704aef8194ab0f5d814d39452d0b3221f (patch) | |
| tree | 3c916fe9b80941338f730a440309066501dfbb80 /test/cursor.cxx | |
| parent | ef831abaa73298d9648010d8aede52dc95fcaee1 (diff) | |
Fixed Compiling with mingw-w64 (STR #2308).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7978 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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 75f645241..3f3ab0c49 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)(long)v; + cursor = (Fl_Cursor)(fl_intptr_t)v; cursor_slider->value(cursor); fl_cursor(cursor,fg,bg); } |
