Mercurial > hg > orthanc-stone
comparison 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 |
comparison
equal
deleted
inserted
replaced
692:10910827f235 | 693:9a474e90e832 |
---|---|
113 return countMissing_ == 0; | 113 return countMissing_ == 0; |
114 } | 114 } |
115 | 115 |
116 unsigned int GetCountMissing() const | 116 unsigned int GetCountMissing() const |
117 { | 117 { |
118 return countMissing_; | 118 return static_cast<unsigned int>(countMissing_); |
119 } | 119 } |
120 | 120 |
121 bool RenderScene(CairoContext& context, | 121 bool RenderScene(CairoContext& context, |
122 const ViewportGeometry& view, | 122 const ViewportGeometry& view, |
123 const CoordinateSystem3D& viewportPlane) | 123 const CoordinateSystem3D& viewportPlane) |