CoverityFix-CID:1350627 Result is not floating-point 62/20262/2
Nimish Kapoor [Thu, 12 Jul 2018 17:12:13 +0000 (22:12 +0530)]
Change-Id: Ib76c042d739b0b5beaf4673b5dcd1c99c6108517

scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/mark/MarkSpriteFactory.java

index 780e94c..1fe05e9 100644 (file)
@@ -304,7 +304,7 @@ public class MarkSpriteFactory {
 
         public TriangleSpriteDrawer(Appearance appearance, int size) {
             super(appearance, size);
-            double tmpr = (double)(size / 2);
+            double tmpr = (double)size / 2;
 
             r = (int) (tmpr);