summaryrefslogtreecommitdiff
path: root/src/playerrelations.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/playerrelations.cpp')
-rw-r--r--src/playerrelations.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/playerrelations.cpp b/src/playerrelations.cpp
index 0dd13e924..9259ae034 100644
--- a/src/playerrelations.cpp
+++ b/src/playerrelations.cpp
@@ -155,8 +155,8 @@ void PlayerRelationsManager::load(bool oldConfig)
clear();
mPersistIgnores = cfg->getValue(PERSIST_IGNORE_LIST, 1);
- mDefaultPermissions = (int) cfg->getValue(DEFAULT_PERMISSIONS,
- mDefaultPermissions);
+ mDefaultPermissions = static_cast<int>(cfg->getValue(DEFAULT_PERMISSIONS,
+ mDefaultPermissions));
std::string ignore_strategy_name = cfg->getValue(PLAYER_IGNORE_STRATEGY,
DEFAULT_IGNORE_STRATEGY);