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

(cherry picked from commit 8fcf59f9db929e94b1a6d2c75c1905f0a51dcddd)
This commit is contained in:
jackpoz
2022-03-12 00:25:49 +01:00
committed by Shauren
parent 984c2f8e8e
commit aaa7596e01
+3 -3
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", "");