changeset 1193:681f339d6f85

merge
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 27 Nov 2019 14:19:17 +0100
parents 91d86144fb79 (diff) c6a36ecd641d (current diff)
children a0731faeafd3
files Framework/Radiography/RadiographySceneWriter.cpp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Radiography/RadiographySceneWriter.cpp	Tue Nov 26 16:32:29 2019 +0100
+++ b/Framework/Radiography/RadiographySceneWriter.cpp	Wed Nov 27 14:19:17 2019 +0100
@@ -62,7 +62,7 @@
   {
     output["type"] = "text";
     output["text"] = layer.GetText();
-    output["fontSize"] = static_cast<uint32_t>(layer.GetFontSize());
+    output["fontSize"] = static_cast<unsigned int>(layer.GetFontSize());
     output["foreground"] = layer.GetForeground();
   }
 
--- a/Framework/Toolbox/GenericToolbox.h	Tue Nov 26 16:32:29 2019 +0100
+++ b/Framework/Toolbox/GenericToolbox.h	Wed Nov 27 14:19:17 2019 +0100
@@ -136,7 +136,7 @@
       if (*p == '.')
       {
         double f = 0.0;
-        int n = 1;
+        size_t n = 1;
         ++p;
         while (*p >= '0' && *p <= '9' && n < FRAC_FACTORS_LEN)
         {