diff Framework/Radiography/RadiographyScene.cpp @ 1309:1f877e0846fe broker

Fixed some warnings + fixed build for C++03
author Benjamin Golinvaux <bgo@osimis.io>
date Wed, 04 Mar 2020 13:20:12 +0100
parents 257f2c9a02ac
children 379c00958553
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyScene.cpp	Wed Mar 04 10:21:54 2020 +0100
+++ b/Framework/Radiography/RadiographyScene.cpp	Wed Mar 04 13:20:12 2020 +0100
@@ -715,7 +715,7 @@
     // wipe background before rendering
     if (GetPreferredPhotomotricDisplayMode() == RadiographyPhotometricDisplayMode_Monochrome1)
     {
-      Orthanc::ImageProcessing::Set(layers, 65535.0f);
+      Orthanc::ImageProcessing::Set(layers, 65535);
     }
     else
     {