summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/NamespaceSerializer.cpp
diff options
context:
space:
mode:
authorTheHyper45 <dawid.priv@o2.pl>2021-06-20 14:21:58 +0200
committerAlexander Harkness <me@bearbin.net>2022-04-12 01:06:40 +0200
commit8e00673967fe659d50afcf6cd58966c118cea930 (patch)
tree7a487dbfa59a0d246442522e5aca5d9a55350b75 /src/WorldStorage/NamespaceSerializer.cpp
parentAdded #include <cctype> to NamespaceSerializer.cpp (diff)
downloadcuberite-8e00673967fe659d50afcf6cd58966c118cea930.tar
cuberite-8e00673967fe659d50afcf6cd58966c118cea930.tar.gz
cuberite-8e00673967fe659d50afcf6cd58966c118cea930.tar.bz2
cuberite-8e00673967fe659d50afcf6cd58966c118cea930.tar.lz
cuberite-8e00673967fe659d50afcf6cd58966c118cea930.tar.xz
cuberite-8e00673967fe659d50afcf6cd58966c118cea930.tar.zst
cuberite-8e00673967fe659d50afcf6cd58966c118cea930.zip
Diffstat (limited to 'src/WorldStorage/NamespaceSerializer.cpp')
-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 == '_')