Commit 87e63a27 authored by Brian Curtin's avatar Brian Curtin

st_dev/st_rdev should be unsigned long as dwVolumeSerialNumber, which it is...

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.
parent b4f39e85
...@@ -1184,13 +1184,13 @@ win32_wchdir(LPCWSTR path) ...@@ -1184,13 +1184,13 @@ win32_wchdir(LPCWSTR path)
#define HAVE_STAT_NSEC 1 #define HAVE_STAT_NSEC 1
struct win32_stat{ struct win32_stat{
int st_dev; unsigned long st_dev;
__int64 st_ino; __int64 st_ino;
unsigned short st_mode; unsigned short st_mode;
int st_nlink; int st_nlink;
int st_uid; int st_uid;
int st_gid; int st_gid;
int st_rdev; unsigned long st_rdev;
__int64 st_size; __int64 st_size;
time_t st_atime; time_t st_atime;
int st_atime_nsec; int st_atime_nsec;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment