mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 19:13:44 +00:00
Fix some warnings.
This commit is contained in:
parent
72266f5638
commit
bc7d5c821c
@ -544,7 +544,7 @@ void FOOTPRINT_EDIT_FRAME::ReloadFootprint( FOOTPRINT* aFootprint )
|
||||
const wxString openLibLink =
|
||||
wxString::Format( _( "Open in library %s" ), UnescapeString( libName ) );
|
||||
|
||||
const auto openLibraryCopy = [this, aFootprint]( wxHyperlinkEvent& aEvent )
|
||||
const auto openLibraryCopy = [this]( wxHyperlinkEvent& aEvent )
|
||||
{
|
||||
GetToolManager()->RunAction( PCB_ACTIONS::editLibFpInFpEditor );
|
||||
};
|
||||
|
@ -45,7 +45,7 @@ std::vector<BOARD_CONNECTED_ITEM*> PNS_LOG_FILE::ItemsById( const PNS::LOGGER::E
|
||||
|
||||
parents.resize( evt.uuids.size() );
|
||||
|
||||
printf("u %d p %d\n", evt.uuids.size(), parents.size() );
|
||||
printf("u %zu p %zu\n", evt.uuids.size(), parents.size() );
|
||||
|
||||
for( BOARD_CONNECTED_ITEM* item : m_board->AllConnectedItems() )
|
||||
{
|
||||
|
@ -110,7 +110,7 @@ void PNS_LOG_PLAYER::ReplayLog( PNS_LOG_FILE* aLog, int aStartEventIndex, int aF
|
||||
auto items = aLog->ItemsById( evt );
|
||||
PNS::ITEM_SET ritems;
|
||||
|
||||
printf("items: %d\n", items.size() );
|
||||
printf("items: %zu\n", items.size() );
|
||||
ITEM* ritem = nullptr;
|
||||
|
||||
if( items.size() && items[0] )
|
||||
|
Loading…
Reference in New Issue
Block a user