st_dev/st_rdev should be unsigned long as dwVolumeSerialNumber, which it is set to, is a DWORD. This was fixed in #11939 and the overflow was mentioned in #10657 and seen by me on some machines.

This commit is contained in:
Brian Curtin 2012-12-31 11:59:48 -06:00
parent b4f39e85f2
commit 87e63a273c
1 changed files with 2 additions and 2 deletions

View File

@ -1184,13 +1184,13 @@ win32_wchdir(LPCWSTR path)
#define HAVE_STAT_NSEC 1
struct win32_stat{
int st_dev;
unsigned long st_dev;
__int64 st_ino;
unsigned short st_mode;
int st_nlink;
int st_uid;
int st_gid;
int st_rdev;
unsigned long st_rdev;
__int64 st_size;
time_t st_atime;
int st_atime_nsec;