summaryrefslogtreecommitdiff
path: root/test/line_style.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/line_style.cxx')
-rw-r--r--test/line_style.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/line_style.cxx b/test/line_style.cxx
index 2c2d54f7b..1676aa846 100644
--- a/test/line_style.cxx
+++ b/test/line_style.cxx
@@ -54,10 +54,10 @@ void test_box::draw() {
buf[3] = char(sliders[7]->value());
buf[4] = 0;
fl_line_style(
- (int)(choice[0]->mvalue()->user_data()) +
- (int)(choice[1]->mvalue()->user_data()) +
- (int)(choice[2]->mvalue()->user_data()),
- (int)(sliders[3]->value()),
+ (long)(choice[0]->mvalue()->user_data()) +
+ (long)(choice[1]->mvalue()->user_data()) +
+ (long)(choice[2]->mvalue()->user_data()),
+ (long)(sliders[3]->value()),
buf);
fl_rect(10,10,w()-20,h()-20);
fl_begin_line();