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/scroll.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/scroll.cxx')
| -rw-r--r-- | test/scroll.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/scroll.cxx b/test/scroll.cxx index 069d10f64..0cc229b5d 100644 --- a/test/scroll.cxx +++ b/test/scroll.cxx @@ -71,7 +71,7 @@ void box_cb(Fl_Widget* o, void*) { } void type_cb(Fl_Widget*, void* v) { - thescroll->type((uchar)((long)v)); + thescroll->type((uchar)((fl_intptr_t)v)); thescroll->redraw(); } @@ -87,7 +87,7 @@ Fl_Menu_Item choices[] = { }; void align_cb(Fl_Widget*, void* v) { - thescroll->scrollbar.align((uchar)((long)v)); + thescroll->scrollbar.align((uchar)((fl_intptr_t)v)); thescroll->redraw(); } |
