diff Framework/Radiography/RadiographySceneWriter.cpp @ 1192:91d86144fb79

fix build
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 27 Nov 2019 14:16:20 +0100
parents f417a0ae282b
children 681f339d6f85
line wrap: on
line diff
--- a/Framework/Radiography/RadiographySceneWriter.cpp	Tue Nov 26 15:27:48 2019 +0100
+++ b/Framework/Radiography/RadiographySceneWriter.cpp	Wed Nov 27 14:16:20 2019 +0100
@@ -62,7 +62,7 @@
   {
     output["type"] = "text";
     output["text"] = layer.GetText();
-    output["fontSize"] = layer.GetFontSize();
+    output["fontSize"] = static_cast<unsigned int>(layer.GetFontSize());
     output["foreground"] = layer.GetForeground();
   }