]> git.sesse.net Git - vlc/commitdiff
GCC 3.3.3 has strong type checking
authorDamien Fouilleul <damienf@videolan.org>
Fri, 11 Feb 2005 11:39:04 +0000 (11:39 +0000)
committerDamien Fouilleul <damienf@videolan.org>
Fri, 11 Feb 2005 11:39:04 +0000 (11:39 +0000)
modules/gui/skins2/src/theme_loader.cpp

index b5b4dec3d59df4e919db807965ca1ebc272f45a3..57ee84f65b939c950e5ee2a377fa08dbc4347bfc 100755 (executable)
@@ -180,7 +180,7 @@ bool ThemeLoader::parse( const string &xmlFile )
     // Extract the path of the XML file
     string path;
     const string &sep = OSFactory::instance( getIntf() )->getDirSeparator();
-    size_type p = xmlFile.rfind( sep, xmlFile.size() );
+    string::size_type p = xmlFile.rfind( sep, xmlFile.size() );
     if( p != string::npos )
     {
         path = xmlFile.substr( 0, p + 1 );