Commit 0f9b72c0 authored by Tomasz Włostowski's avatar Tomasz Włostowski

eeschema: fix assertions on debug messages caused by wxLogTrace argument size mismatch

parent 3f015705
...@@ -247,7 +247,7 @@ LIB_PART::~LIB_PART() ...@@ -247,7 +247,7 @@ LIB_PART::~LIB_PART()
wxLogTrace( traceSchLibMem, wxLogTrace( traceSchLibMem,
wxT( "%s: destroying part '%s' with alias list count of %u." ), wxT( "%s: destroying part '%s' with alias list count of %u." ),
GetChars( wxString::FromAscii( __WXFUNCTION__ ) ), GetChars( GetName() ), GetChars( wxString::FromAscii( __WXFUNCTION__ ) ), GetChars( GetName() ),
m_aliases.size() ); (unsigned int) m_aliases.size() );
// If the part is being deleted directly rather than through the library, // If the part is being deleted directly rather than through the library,
// delete all of the aliases. // delete all of the aliases.
...@@ -1701,8 +1701,8 @@ LIB_ALIAS* LIB_PART::RemoveAlias( LIB_ALIAS* aAlias ) ...@@ -1701,8 +1701,8 @@ LIB_ALIAS* LIB_PART::RemoveAlias( LIB_ALIAS* aAlias )
GetChars( wxString::FromAscii( __WXFUNCTION__ ) ), GetChars( wxString::FromAscii( __WXFUNCTION__ ) ),
GetChars( m_name ), GetChars( m_name ),
GetChars( aAlias->GetName() ), GetChars( aAlias->GetName() ),
m_aliases.size(), (unsigned int) m_aliases.size(),
m_me.use_count() ); (unsigned int) m_me.use_count() );
it = m_aliases.erase( it ); it = m_aliases.erase( it );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment