Author: AlbrechtS
Date: 2010-12-08 15:58:32 -0800 (Wed, 08 Dec 2010)
New Revision: 7982
Log:
Removed unnecessary casts (STR #2308).


Modified:
   branches/branch-1.3/test/line_style.cxx

Modified: branches/branch-1.3/test/line_style.cxx
===================================================================
--- branches/branch-1.3/test/line_style.cxx     2010-12-08 23:53:04 UTC (rev 
7981)
+++ branches/branch-1.3/test/line_style.cxx     2010-12-08 23:58:32 UTC (rev 
7982)
@@ -58,10 +58,10 @@
   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

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to