fix data type: this returns -1 on error (this should actually be 64-bit, but that's a bigger change)

This commit is contained in:
Glenn Maynard
2009-10-21 06:49:52 +00:00
parent 7cad630d35
commit adbce38f13
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 );
}
+1 -1
View File
@@ -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 );