summaryrefslogtreecommitdiff
path: root/test/scroll.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2006-09-30 03:34:32 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2006-09-30 03:34:32 +0000
commit5e39761d40a1f630d6ea1e7e28b47f7ad2a0e2d2 (patch)
tree3944561a3a5c226bbe1a897dd4f124ed3b2fffe4 /test/scroll.cxx
parent4b77e169bf3f5443e19c980a6d467d51399ccb63 (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/scroll.cxx')
-rw-r--r--test/scroll.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/scroll.cxx b/test/scroll.cxx
index e2e22d792..4329f70cd 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(int(v));
+ thescroll->type((long)v);
thescroll->redraw();
}
@@ -87,7 +87,7 @@ Fl_Menu_Item choices[] = {
};
void align_cb(Fl_Widget*, void* v) {
- thescroll->scrollbar.align(int(v));
+ thescroll->scrollbar.align((long)v);
thescroll->redraw();
}