From 358a05a2c82de0f5a9dccfdd83a3cac1ecb827e7 Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Mon, 16 Jan 2023 22:44:19 -0500 Subject: [PATCH] msvc warning fix --- qa/tools/pns/pns_log_player.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qa/tools/pns/pns_log_player.cpp b/qa/tools/pns/pns_log_player.cpp index 20d49f2a10..4442849006 100644 --- a/qa/tools/pns/pns_log_player.cpp +++ b/qa/tools/pns/pns_log_player.cpp @@ -161,9 +161,9 @@ void PNS_LOG_PLAYER::ReplayLog( PNS_LOG_FILE* aLog, int aStartEventIndex, int aF { m_debugDecorator->NewStage( "move", 0, PNSLOGINFO ); m_viewTracker->SetStage( m_debugDecorator->GetStageCount() - 1 ); - + auto msg = wxString::Format( "event [%d/%d]: move (%d, %d)", eventIdx, totalEvents, evt.p.x, evt.p.y ); - + m_debugDecorator->Message( msg ); m_reporter->Report( msg ); @@ -236,7 +236,7 @@ void PNS_LOG_PLAYER::ReplayLog( PNS_LOG_FILE* aLog, int aStartEventIndex, int aF #endif } - + } @@ -244,7 +244,7 @@ bool PNS_LOG_PLAYER::CompareResults( PNS_LOG_FILE* aLog ) { auto cstate = GetRouterUpdatedItems(); - printf("Comparing %lu added/%lu removed items\n", cstate.m_addedItems.size(), cstate.m_removedIds.size() ); + printf("Comparing %zu added/%zu removed items\n", cstate.m_addedItems.size(), cstate.m_removedIds.size() ); return cstate.Compare( aLog->GetExpectedResult() ); }