(svn r5836) - Silence a warning on mingw. Thanks glx.
authorDarkvater
Thu, 10 Aug 2006 17:28:13 +0000
changeset 4247 091fb0c37c8c
parent 4246 6dcc0e44a367
child 4248 dc3f60b82a17
(svn r5836) - Silence a warning on mingw. Thanks glx.
win32.c
--- a/win32.c	Thu Aug 10 14:44:32 2006 +0000
+++ b/win32.c	Thu Aug 10 17:28:13 2006 +0000
@@ -720,7 +720,7 @@
 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;