changeset 25:dfa0e18afd76

fix msvc warning
author jodogne
date Wed, 23 Nov 2016 16:00:02 +0100
parents 902e6c52e154
children 507b5776ebad
files Samples/LayoutPetCtFusionApplication.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Samples/LayoutPetCtFusionApplication.h	Wed Nov 23 15:50:31 2016 +0100
+++ b/Samples/LayoutPetCtFusionApplication.h	Wed Nov 23 16:00:02 2016 +0100
@@ -145,7 +145,7 @@
         {
           RenderStyle style; 
           style.applyLut_ = true;
-          style.alpha_ = (layer == 0 ? 1.0 : 0.5);
+          style.alpha_ = (layer == 0 ? 1.0f : 0.5f);
           widget.SetLayerStyle(layer, style);
         }
       }