mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r5836) - Silence a warning on mingw. Thanks glx.
This commit is contained in:
parent
5f943a4ba7
commit
581476b7d2
2
win32.c
2
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue