diff --git a/test/line_style.cxx b/test/line_style.cxx index c37b0a7ec..b9bca1722 100644 --- a/test/line_style.cxx +++ b/test/line_style.cxx @@ -58,10 +58,10 @@ void test_box::draw() { dashes[3] = char(sliders[8]->value()); dashes[4] = 0; fl_line_style( - (long)(choice[0]->mvalue()->argument()) + - (long)(choice[1]->mvalue()->argument()) + - (long)(choice[2]->mvalue()->argument()), - (long)(sliders[3]->value()), // width + choice[0]->mvalue()->argument() + + choice[1]->mvalue()->argument() + + choice[2]->mvalue()->argument(), + long(sliders[3]->value()), // width dashes); // draw the defined fl_rect and fl_vertex first and then