1
0
Fork 0

Fix a data type mismatch

This commit is contained in:
Torsten Dreyer 2011-06-05 17:10:04 +02:00
parent abc97adf2b
commit 7ebc68b3c7

View file

@ -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 );