fixed warning in auth when building with clang (dammit!)

This commit is contained in:
otavepto 2023-12-25 07:25:50 +02:00
parent 351c301f17
commit ce9b957c3d
2 changed files with 2 additions and 2 deletions

View File

@ -310,7 +310,7 @@ void Auth_Manager::Callback(Common_Message *msg)
if (msg->has_auth_ticket()) { if (msg->has_auth_ticket()) {
if (msg->auth_ticket().type() == Auth_Ticket::CANCEL) { if (msg->auth_ticket().type() == Auth_Ticket::CANCEL) {
PRINT_DEBUG("TICKET CANCEL %llu\n", msg->source_id()); PRINT_DEBUG("TICKET CANCEL " "%" PRIu64 "\n", msg->source_id());
uint32 number = msg->auth_ticket().number(); uint32 number = msg->auth_ticket().number();
auto t = std::begin(inbound); auto t = std::begin(inbound);
while (t != std::end(inbound)) { while (t != std::end(inbound)) {

View File

@ -515,7 +515,7 @@ struct Auth_Data {
"AUTH::Auth_Data::SER:\n" "AUTH::Auth_Data::SER:\n"
" HasGC: %u\n" " HasGC: %u\n"
" user steam_id: " "%" PRIu64 "\n" " user steam_id: " "%" PRIu64 "\n"
" number: %llu\n", " number: " "%" PRIu64 "\n",
(int)HasGC, (int)HasGC,
steam_id, steam_id,