mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Fix a few issues with more strict modern compilers
This commit is contained in:
@ -202,8 +202,8 @@ void plAgeDescription::SetAgeNameFromPath( const char *path )
|
||||
}
|
||||
|
||||
// Construct our name from the path
|
||||
char *pathSep1 = strrchr( path, '\\' );
|
||||
char *pathSep2 = strrchr( path, '/' );
|
||||
const char *pathSep1 = strrchr( path, '\\' );
|
||||
const char *pathSep2 = strrchr( path, '/' );
|
||||
if( pathSep2 > pathSep1 )
|
||||
pathSep1 = pathSep2;
|
||||
if( pathSep1 == nil )
|
||||
|
Reference in New Issue
Block a user