diff Framework/Loaders/SeriesFramesLoader.cpp @ 1311:3d26447ddd28 broker

warning fixes + doc + indentation + header files in cmake for VC++ sln browsing
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 09 Mar 2020 14:55:22 +0100
parents 1f877e0846fe
children 30deba7bc8e2
line wrap: on
line diff
--- a/Framework/Loaders/SeriesFramesLoader.cpp	Mon Mar 09 14:53:22 2020 +0100
+++ b/Framework/Loaders/SeriesFramesLoader.cpp	Mon Mar 09 14:55:22 2020 +0100
@@ -170,7 +170,9 @@
     size_t frameIndex = frames_.GetFrameIndex(payload.GetSeriesIndex());
 
     std::unique_ptr<Orthanc::ImageAccessor> decoded;
-    decoded.reset(Orthanc::DicomImageDecoder::Decode(dicom, frameIndex));
+    decoded.reset(Orthanc::DicomImageDecoder::Decode(
+      dicom, 
+      static_cast<unsigned int>(frameIndex)));
 
     if (decoded.get() == NULL)
     {