summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/WorldStorage/NamespaceSerializer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/NamespaceSerializer.cpp b/src/WorldStorage/NamespaceSerializer.cpp
index 16c96eaaa..910054ff7 100644
--- a/src/WorldStorage/NamespaceSerializer.cpp
+++ b/src/WorldStorage/NamespaceSerializer.cpp
@@ -566,7 +566,7 @@ AString NamespaceSerializer::Prettify(AString a_Name, const bool a_IsTamed)
{
if (NextLetterCapitalized)
{
- a_Letter = std::toupper(a_Letter);
+ a_Letter = static_cast<char>(std::toupper(a_Letter));
NextLetterCapitalized = false;
}
else if (a_Letter == '_')