diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2006-09-30 03:34:32 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2006-09-30 03:34:32 +0000 |
| commit | 5e39761d40a1f630d6ea1e7e28b47f7ad2a0e2d2 (patch) | |
| tree | 3944561a3a5c226bbe1a897dd4f124ed3b2fffe4 /test/cursor.cxx | |
| parent | 4b77e169bf3f5443e19c980a6d467d51399ccb63 (diff) | |
Fix void * to integer casts for 64-bit Intel systems (STR #1446)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5499 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 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); } |
