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
commit50d2530adc82560c5cb0b3c8a38b49e9218badf7 (patch)
treed15de293e5a1a40db84c1bde0ba7edfd6c05398f
parent0403405d5dd575ccbaf8d2a1d34ba5f6df6cf305 (diff)
downloadopenttd-50d2530adc82560c5cb0b3c8a38b49e9218badf7.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;