]> git.mxchange.org Git - flightgear.git/commitdiff
Fix a data type mismatch
authorTorsten Dreyer <torsten@mustang.home.t3r.de>
Sun, 5 Jun 2011 15:10:04 +0000 (17:10 +0200)
committerTorsten Dreyer <torsten@mustang.home.t3r.de>
Sun, 5 Jun 2011 15:10:04 +0000 (17:10 +0200)
utils/fgpanel/FGPanelApplication.cxx

index 0477be7e210e8093f2f432e58428970f163551e2..b587004775ccce602eb37355db1a5c8767b9c8e9 100644 (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 );