mirror of https://github.com/python/cpython
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:
parent
b4f39e85f2
commit
87e63a273c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue