This patch fixes a format string assertion. diff --git a/pcbnew/dialogs/dialog_select_net_from_list.cpp b/pcbnew/dialogs/dialog_select_net_from_list.cpp index f4539aa..fb70b90 100644 --- a/pcbnew/dialogs/dialog_select_net_from_list.cpp +++ b/pcbnew/dialogs/dialog_select_net_from_list.cpp @@ -161,7 +161,7 @@ void DIALOG_SELECT_NET_FROM_LIST::buildNetsList()
if( netcode ) { - txt.Printf( wxT( "%u" ), net->m_PadInNetList.size() ); + txt.Printf( wxT( "%u" ), (unsigned) net->m_PadInNetList.size() ); m_netsListGrid->SetCellValue( row_idx, COL_NETINFO, txt ); } else // For the net 0 (unconnected pads), the pad count is not known _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp