aboutsummaryrefslogtreecommitdiff
path: root/src/server/worldserver/Main.cpp
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2021-08-06 19:46:37 +0200
committerShauren <shauren.trinity@gmail.com>2022-03-12 00:25:49 +0100
commitaaa7596e013faebebede5d72949cd9f38788562f (patch)
tree3d0bdae5ca336c4ed97a2935fb25fb0c46af1752 /src/server/worldserver/Main.cpp
parent984c2f8e8edbf452a7e66324a70a3c55e7cfcacc (diff)
Core/Misc: Fix build on systems where size_t is not defined as uintXX_t, i.e. Mac
(cherry picked from commit 8fcf59f9db929e94b1a6d2c75c1905f0a51dcddd)
Diffstat (limited to 'src/server/worldserver/Main.cpp')
-rw-r--r--src/server/worldserver/Main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/worldserver/Main.cpp b/src/server/worldserver/Main.cpp
index 1fe51079f6b..118bf312170 100644
--- a/src/server/worldserver/Main.cpp
+++ b/src/server/worldserver/Main.cpp
@@ -281,9 +281,9 @@ extern int main(int argc, char** argv)
sMetric->Initialize(realm.Name, *ioContext, []()
{
TC_METRIC_VALUE("online_players", sWorld->GetPlayerCount());
- TC_METRIC_VALUE("db_queue_login", LoginDatabase.QueueSize());
- TC_METRIC_VALUE("db_queue_character", CharacterDatabase.QueueSize());
- TC_METRIC_VALUE("db_queue_world", WorldDatabase.QueueSize());
+ TC_METRIC_VALUE("db_queue_login", uint64(LoginDatabase.QueueSize()));
+ TC_METRIC_VALUE("db_queue_character", uint64(CharacterDatabase.QueueSize()));
+ TC_METRIC_VALUE("db_queue_world", uint64(WorldDatabase.QueueSize()));
});
TC_METRIC_EVENT("events", "Worldserver started", "");