summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2010-12-08 23:58:32 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2010-12-08 23:58:32 +0000
commitf9388a37df89e5b78859fe7a1a5a84558088317b (patch)
tree9f5dc5d6612a15904707da2e37cf2c2bc392740f
parent9e2d044caa7d71c25529c51a57f28f57c5660231 (diff)
Removed unnecessary casts (STR #2308).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7982 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-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 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