diff options
author | rubidium <rubidium@openttd.org> | 2009-01-16 12:59:47 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-01-16 12:59:47 +0000 |
commit | b1a33a494f7a9510f600cb18e771b35905597be6 (patch) | |
tree | eef2f6bd0f7e1c471cd04882c93477dbfe6df764 /src/fios.cpp | |
parent | cdd3676478bc50ec10960146034e93d522c86142 (diff) | |
download | openttd-b1a33a494f7a9510f600cb18e771b35905597be6.tar.xz |
(svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes strings.
Diffstat (limited to 'src/fios.cpp')
-rw-r--r-- | src/fios.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fios.cpp b/src/fios.cpp index f5185464c..4c4df8003 100644 --- a/src/fios.cpp +++ b/src/fios.cpp @@ -38,7 +38,7 @@ extern bool FiosIsRoot(const char *path); extern bool FiosIsValidFile(const char *path, const struct dirent *ent, struct stat *sb); extern bool FiosIsHiddenFile(const struct dirent *ent); extern void FiosGetDrives(); -extern bool FiosGetDiskFreeSpace(const char *path, uint32 *tot); +extern bool FiosGetDiskFreeSpace(const char *path, uint64 *tot); /* get the name of an oldstyle savegame */ extern void GetOldSaveGameName(char *title, const char *path, const char *file); @@ -79,7 +79,7 @@ void FiosFreeSavegameList() * @param total_free total free space in megabytes, optional (can be NULL) * @return StringID describing the path (free space or failure) */ -StringID FiosGetDescText(const char **path, uint32 *total_free) +StringID FiosGetDescText(const char **path, uint64 *total_free) { *path = _fios_path; return FiosGetDiskFreeSpace(*path, total_free) ? STR_4005_BYTES_FREE : STR_4006_UNABLE_TO_READ_DRIVE; |