diff --git a/stepmania/src/RageFileManager.cpp b/stepmania/src/RageFileManager.cpp index e07a7540bf..b4d6d65493 100644 --- a/stepmania/src/RageFileManager.cpp +++ b/stepmania/src/RageFileManager.cpp @@ -910,7 +910,7 @@ bool IsADirectory( const RString &sPath ) return FILEMAN->IsADirectory( sPath ); } -unsigned GetFileSizeInBytes( const RString &sPath ) +int GetFileSizeInBytes( const RString &sPath ) { return FILEMAN->GetFileSizeInBytes( sPath ); } diff --git a/stepmania/src/RageUtil.h b/stepmania/src/RageUtil.h index 435e9c8502..a5e115c4a9 100644 --- a/stepmania/src/RageUtil.h +++ b/stepmania/src/RageUtil.h @@ -584,7 +584,7 @@ bool DeleteRecursive( RageFileDriver *prfd, const RString &sDir ); /* delete the bool DoesFileExist( const RString &sPath ); bool IsAFile( const RString &sPath ); bool IsADirectory( const RString &sPath ); -unsigned GetFileSizeInBytes( const RString &sFilePath ); +int GetFileSizeInBytes( const RString &sFilePath ); // call FixSlashesInPlace on any path that came from the user void FixSlashesInPlace( RString &sPath );