pcbnew: Avoid wxassert in message

wxstring::Printf() needs size_t cast to acceptable type or it gives an
assertion in debug mode.
This commit is contained in:
Seth Hillbrand 2019-06-23 16:40:24 -07:00
parent d8fff5c820
commit e8ce0ba6ef
1 changed files with 2 additions and 2 deletions

View File

@ -318,9 +318,9 @@ bool DIALOG_TRACK_VIA_PROPERTIES::confirmPadChange( const std::vector<D_PAD*>& c
}
else
{
msg.Printf( _( "This will change the net assigned to %d connected pads to %s.\n"
msg.Printf( _( "This will change the net assigned to %lu connected pads to %s.\n"
"Do you wish to continue?" ),
changingPads.size(),
static_cast<unsigned long>( changingPads.size() ),
m_netSelector->GetValue() );
}