mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue