pcbnew: Avoid wxassert in message

wxstring::Printf() needs size_t cast to acceptable type or it gives an
assertion in debug mode.

(cherry picked from commit e8ce0ba6ef)
This commit is contained in:
Seth Hillbrand 2019-06-23 16:40:24 -07:00
parent 15e6bcc86b
commit 0bce0f37e4
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 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?" ), "Do you wish to continue?" ),
changingPads.size(), static_cast<unsigned long>( changingPads.size() ),
m_netSelector->GetValue() ); m_netSelector->GetValue() );
} }