Fix a data type mismatch
This commit is contained in:
parent
abc97adf2b
commit
7ebc68b3c7
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ FGPanelApplication::FGPanelApplication( int argc, char ** argv ) :
|
|||
string arg = argv[i];
|
||||
if( arg.find( "--prop:" ) == 0 ) {
|
||||
string s2 = arg.substr( 7 );
|
||||
unsigned p = s2.find( "=" );
|
||||
string::size_type p = s2.find( "=" );
|
||||
if( p != string::npos ) {
|
||||
string propertyName = s2.substr( 0, p );
|
||||
string propertyValue = s2.substr( p+1 );
|
||||
|
|
Loading…
Reference in a new issue