From 17b68840d2f0f4b72dbf954089ad89111993d87d Mon Sep 17 00:00:00 2001
From: Marco Biasini <marco.biasini@unibas.ch>
Date: Wed, 22 May 2013 16:54:38 +0200
Subject: [PATCH] silence warning

---
 modules/img/base/src/point.hh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/img/base/src/point.hh b/modules/img/base/src/point.hh
index 443c1b644..0d9f307e7 100644
--- a/modules/img/base/src/point.hh
+++ b/modules/img/base/src/point.hh
@@ -113,9 +113,9 @@ public:
       throw geom::OutOfRangeException("4th element of Vec4 is too close to zero for normalization");
     } else {
       Real sf = 1.0/v[3];
-      x*=sf;
-      y*=sf;
-      z*=sf;
+      x = static_cast<int>(x*sf);
+      y = static_cast<int>(y*sf);
+      z = static_cast<int>(z*sf);
     }
   }
 
-- 
GitLab