diff --git a/qa/pns/playground.cpp b/qa/pns/playground.cpp index 5ba2223589..4c32af7b05 100644 --- a/qa/pns/playground.cpp +++ b/qa/pns/playground.cpp @@ -175,7 +175,7 @@ int playground_main_func( int argc, char* argv[] ) vp.Merge( arc.BBox() ); } - printf("Read %lu arcs\n", arcs.size() ); + printf("Read %zu arcs\n", arcs.size() ); LABEL_MANAGER labelMgr( frame->GetPanel()->GetGAL() ); frame->GetPanel()->GetView()->SetViewport( BOX2D( vp.GetOrigin(), vp.GetSize() ) ); diff --git a/qa/pns/pns_log_viewer.cpp b/qa/pns/pns_log_viewer.cpp index 3c1b30de2f..bc8ed73282 100644 --- a/qa/pns/pns_log_viewer.cpp +++ b/qa/pns/pns_log_viewer.cpp @@ -440,7 +440,7 @@ static BOARD* loadBoard( const std::string& filename ) { brd = pi->Load( wxString( filename.c_str() ), nullptr, nullptr ); } - catch( const IO_ERROR& ioe ) + catch( const IO_ERROR& ) { return nullptr; }