From 25ef22b00c2d5a30716d222a860043cfcd0545a5 Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Tue, 15 Sep 2015 13:16:23 -0400 Subject: [PATCH] Pcbnew: fix assertion due to string formatting error when loading footprint from board in footprint editor. (fixes lp:1495744) --- pcbnew/loadcmp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/loadcmp.cpp b/pcbnew/loadcmp.cpp index c0b1d65688..d041dfb0d4 100644 --- a/pcbnew/loadcmp.cpp +++ b/pcbnew/loadcmp.cpp @@ -3,7 +3,7 @@ * * Copyright (C) 2012 Jean-Pierre Charras, jean-pierre.charras@ujf-grenoble.fr * Copyright (C) 2012 SoftPLC Corporation, Dick Hollenbeck - * Copyright (C) 1992-2012 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 1992-2015 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -493,7 +493,7 @@ MODULE* FOOTPRINT_EDIT_FRAME::SelectFootprint( BOARD* aPcb ) for( ; module; module = module->Next() ) listnames.Add( module->GetReference() ); - msg.Printf( _( "Modules [%d items]" ), listnames.GetCount() ); + msg.Printf( _( "Modules [%u items]" ), (unsigned) listnames.GetCount() ); wxArrayString headers;