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
commite48a351f8e006b19d9e2c7bf9ef672a1e141d85f (patch)
tree8d4f7ac36d25e220f571af8ff584b7fa76c13cc1 /src/newgrf_config.cpp
parentf7b6a02b1e9850c4cdb281148a1cee78c2a3f2a8 (diff)
downloadopenttd-e48a351f8e006b19d9e2c7bf9ef672a1e141d85f.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);