Fix MSVC compilation error with wxString fed to strtol
This commit is contained in:
parent
45598f2933
commit
c07a38b91b
|
@ -248,7 +248,7 @@ void KICAD_NETLIST_PARSER::parseNet()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if( strtol( code, NULL, 10 ) >= 1 )
|
if( strtol( code.c_str(), NULL, 10 ) >= 1 )
|
||||||
{
|
{
|
||||||
if( name.IsEmpty() ) // Give a dummy net name like N-000009
|
if( name.IsEmpty() ) // Give a dummy net name like N-000009
|
||||||
name = wxT("N-00000") + code;
|
name = wxT("N-00000") + code;
|
||||||
|
|
Loading…
Reference in New Issue