Commit 8235c2c5 authored by Damien Fouilleul's avatar Damien Fouilleul

GCC 3.3.3 has strong type checking

parent 28a6e8f5
...@@ -180,7 +180,7 @@ bool ThemeLoader::parse( const string &xmlFile ) ...@@ -180,7 +180,7 @@ bool ThemeLoader::parse( const string &xmlFile )
// Extract the path of the XML file // Extract the path of the XML file
string path; string path;
const string &sep = OSFactory::instance( getIntf() )->getDirSeparator(); 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 ) if( p != string::npos )
{ {
path = xmlFile.substr( 0, p + 1 ); path = xmlFile.substr( 0, p + 1 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment