summaryrefslogtreecommitdiff
path: root/src/being/playerrelations.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/playerrelations.cpp')
-rw-r--r--src/being/playerrelations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/playerrelations.cpp b/src/being/playerrelations.cpp
index 06815baeb..f1804e2b0 100644
--- a/src/being/playerrelations.cpp
+++ b/src/being/playerrelations.cpp
@@ -173,7 +173,7 @@ int PlayerRelationsManager::getPlayerIgnoreStrategyIndex(
for (size_t i = 0; i < sz; i++)
{
if ((*strategies)[i]->mShortName == name)
- return i;
+ return static_cast<int>(i);
}
return -1;