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

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

parent 3f015705
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -247,7 +247,7 @@ LIB_PART::~LIB_PART()
    wxLogTrace( traceSchLibMem,
                wxT( "%s: destroying part '%s' with alias list count of %u." ),
                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,
    // delete all of the aliases.
@@ -1701,8 +1701,8 @@ LIB_ALIAS* LIB_PART::RemoveAlias( LIB_ALIAS* aAlias )
                    GetChars( wxString::FromAscii( __WXFUNCTION__ ) ),
                    GetChars( m_name ),
                    GetChars( aAlias->GetName() ),
                    m_aliases.size(),
                    m_me.use_count() );
                    (unsigned int) m_aliases.size(),
                    (unsigned int) m_me.use_count() );

        it = m_aliases.erase( it );