summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/socialplayerstab.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabs/socialplayerstab.h')
-rw-r--r--src/gui/widgets/tabs/socialplayerstab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/tabs/socialplayerstab.h b/src/gui/widgets/tabs/socialplayerstab.h
index b3a234301..50d86e33c 100644
--- a/src/gui/widgets/tabs/socialplayerstab.h
+++ b/src/gui/widgets/tabs/socialplayerstab.h
@@ -186,7 +186,7 @@ class SocialPlayersTab final : public SocialTab
}
// TRANSLATORS: social window label
mCounterString = strprintf(_("Visible players: %d"),
- static_cast<int>(avatars->size()));
+ CAST_S32(avatars->size()));
updateCounter();
}