summaryrefslogtreecommitdiff
path: root/test/scroll.cxx
diff options
context:
space:
mode:
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();
}