]> git.sesse.net Git - vlc/commitdiff
* modules/gui/skins2/src/theme_loader.cpp: portability fix (gzopen_frontend() is...
authorGildas Bazin <gbazin@videolan.org>
Thu, 10 Feb 2005 11:58:12 +0000 (11:58 +0000)
committerGildas Bazin <gbazin@videolan.org>
Thu, 10 Feb 2005 11:58:12 +0000 (11:58 +0000)
modules/gui/skins2/src/theme_loader.cpp

index 17ad50cc13e2b6db45550c79124237af1bb2d1f8..b5b4dec3d59df4e919db807965ca1ebc272f45a3 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();
-    unsigned int p = xmlFile.rfind( sep, xmlFile.size() );
+    size_type p = xmlFile.rfind( sep, xmlFile.size() );
     if( p != string::npos )
     {
         path = xmlFile.substr( 0, p + 1 );