# HG changeset patch # User Alain Mazy # Date 1574782349 -3600 # Node ID c6a36ecd641da60b5a2c95cc90bd0012a84b5ed2 # Parent f417a0ae282b6c5141a70d813a11b5cd2a409e4b fix diff -r f417a0ae282b -r c6a36ecd641d Framework/Radiography/RadiographySceneWriter.cpp --- a/Framework/Radiography/RadiographySceneWriter.cpp Tue Nov 26 15:27:48 2019 +0100 +++ b/Framework/Radiography/RadiographySceneWriter.cpp Tue Nov 26 16:32:29 2019 +0100 @@ -62,7 +62,7 @@ { output["type"] = "text"; output["text"] = layer.GetText(); - output["fontSize"] = layer.GetFontSize(); + output["fontSize"] = static_cast(layer.GetFontSize()); output["foreground"] = layer.GetForeground(); } diff -r f417a0ae282b -r c6a36ecd641d Framework/Radiography/RadiographyTextLayer.h --- a/Framework/Radiography/RadiographyTextLayer.h Tue Nov 26 15:27:48 2019 +0100 +++ b/Framework/Radiography/RadiographyTextLayer.h Tue Nov 26 16:32:29 2019 +0100 @@ -49,12 +49,12 @@ return text_; } - const size_t& GetFontSize() const + size_t GetFontSize() const { return fontSize_; } - const size_t& GetForeground() const + uint8_t GetForeground() const { return foreground_; }