diff --git a/qa/tools/pns/pns_log_file.cpp b/qa/tools/pns/pns_log_file.cpp index 32b432e168..ccc8d54d54 100644 --- a/qa/tools/pns/pns_log_file.cpp +++ b/qa/tools/pns/pns_log_file.cpp @@ -106,7 +106,7 @@ bool PNS_LOG_FILE::parseCommonPnsProps( PNS::ITEM* aItem, const wxString& cmd, { if( cmd == wxS( "net" ) ) { - aItem->SetNet( m_board->FindNet( aTokens.GetNextToken() ) ); + aItem->SetNet( m_board->FindNet( wxAtoi( aTokens.GetNextToken() ) ) ); return true; } else if( cmd == wxS( "layers" ) )