summaryrefslogtreecommitdiff
path: root/src/newgrf_config.cpp
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-05-08 13:20:54 +0000
committerglx <glx@openttd.org>2008-05-08 13:20:54 +0000
commita28ea3865385e519026224076b8dc479e13010a0 (patch)
tree8d4f7ac36d25e220f571af8ff584b7fa76c13cc1 /src/newgrf_config.cpp
parent298ce6233860bce8767907721e454bbaa041a061 (diff)
downloadopenttd-a28ea3865385e519026224076b8dc479e13010a0.tar.xz
(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings
Diffstat (limited to 'src/newgrf_config.cpp')
-rw-r--r--src/newgrf_config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_config.cpp b/src/newgrf_config.cpp
index 903ad7fb3..03cb0aa41 100644
--- a/src/newgrf_config.cpp
+++ b/src/newgrf_config.cpp
@@ -309,7 +309,7 @@ static bool ScanPathAddGrf(const char *filename)
}
/* Scan a path for NewGRFs */
-static uint ScanPath(const char *path, int basepath_length)
+static uint ScanPath(const char *path, size_t basepath_length)
{
extern bool FiosIsValidFile(const char *path, const struct dirent *ent, struct stat *sb);