summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-08-10 17:28:13 +0000
committerDarkvater <darkvater@openttd.org>2006-08-10 17:28:13 +0000
commit581476b7d2bb6713f10e160eb7c0b6365f71554a (patch)
treed15de293e5a1a40db84c1bde0ba7edfd6c05398f
parent5f943a4ba7a754dfd1136b232608b0a31e443ceb (diff)
downloadopenttd-581476b7d2bb6713f10e160eb7c0b6365f71554a.tar.xz
(svn r5836) - Silence a warning on mingw. Thanks glx.
-rw-r--r--win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32.c b/win32.c
index 0f789dbfa..9f1cb6c15 100644
--- a/win32.c
+++ b/win32.c
@@ -720,7 +720,7 @@ void FiosGetDrives(void)
bool FiosIsValidFile(const char *path, const struct dirent *ent, struct stat *sb)
{
// hectonanoseconds between Windows and POSIX epoch
- static const int64 posix_epoch_hns = 0x019DB1DED53E8000;
+ static const int64 posix_epoch_hns = 0x019DB1DED53E8000LL;
const WIN32_FIND_DATA *fd = &ent->dir->fd;
if (fd->dwFileAttributes & (FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_SYSTEM)) return false;