Core/Misc: Fix build on systems where size_t is not defined as uintXX_t, i.e. Mac

(cherry picked from commit 8fcf59f9db)
This commit is contained in:
jackpoz
2021-08-06 19:46:37 +02:00
committed by Shauren
parent 984c2f8e8e
commit aaa7596e01

View File

@@ -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", "");