summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-03-09 16:34:28 (GMT)
committerGitHub <noreply@github.com>2017-03-09 16:34:28 (GMT)
commit0f6d73343d342c106cda2219ebb8a6f0c4bd9b3c (patch)
tree1d79b8e053f15f5f55a9941a057ba23d42be0c0d /Include
parentfeccdb2a249a71be330765be77dee57121866779 (diff)
downloadcpython-0f6d73343d342c106cda2219ebb8a6f0c4bd9b3c.zip
cpython-0f6d73343d342c106cda2219ebb8a6f0c4bd9b3c.tar.gz
cpython-0f6d73343d342c106cda2219ebb8a6f0c4bd9b3c.tar.bz2
bpo-29619: Convert st_ino using unsigned integer (#557)
bpo-29619: os.stat() and os.DirEntry.inodeo() now convert inode (st_ino) using unsigned integers.
Diffstat (limited to 'Include')
-rw-r--r--Include/fileutils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/fileutils.h b/Include/fileutils.h
index b933e98..900c70f 100644
--- a/Include/fileutils.h
+++ b/Include/fileutils.h
@@ -22,7 +22,7 @@ PyAPI_FUNC(PyObject *) _Py_device_encoding(int);
#ifdef MS_WINDOWS
struct _Py_stat_struct {
unsigned long st_dev;
- __int64 st_ino;
+ uint64_t st_ino;
unsigned short st_mode;
int st_nlink;
int st_uid;