summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index a923d107e..27cebc99c 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -2483,7 +2483,7 @@ void Being::reReadConfig()
mHideErased = config.getBoolValue("hideErased");
mMoveNames = fromBool(config.getBoolValue("moveNames"), Move);
mUseDiagonal = config.getBoolValue("useDiagonalSpeed");
- mShowBadges = config.getIntValue("showBadges");
+ mShowBadges = static_cast<uint8_t>(config.getIntValue("showBadges"));
mUpdateConfigTime = cur_time;
}