diff --git a/pcbnew/dialogs/dialog_track_via_properties.cpp b/pcbnew/dialogs/dialog_track_via_properties.cpp index 66bc976b72..6424d18113 100644 --- a/pcbnew/dialogs/dialog_track_via_properties.cpp +++ b/pcbnew/dialogs/dialog_track_via_properties.cpp @@ -318,9 +318,9 @@ bool DIALOG_TRACK_VIA_PROPERTIES::confirmPadChange( const std::vector& 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( changingPads.size() ), m_netSelector->GetValue() ); }