diff Framework/Widgets/SliceViewerWidget.cpp @ 693:9a474e90e832

Fixed a bunch of truncation warnings in various parts of the library
author Benjamin Golinvaux <bgo@osimis.io>
date Fri, 17 May 2019 08:49:55 +0200
parents 42dadae61fa9
children d2c0e347ddc2
line wrap: on
line diff
--- a/Framework/Widgets/SliceViewerWidget.cpp	Thu May 16 20:39:30 2019 +0200
+++ b/Framework/Widgets/SliceViewerWidget.cpp	Fri May 17 08:49:55 2019 +0200
@@ -115,7 +115,7 @@
 
     unsigned int GetCountMissing() const
     {
-      return countMissing_;
+      return static_cast<unsigned int>(countMissing_);
     }
 
     bool RenderScene(CairoContext& context,