summaryrefslogtreecommitdiffstats
path: root/Include/fileutils.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-03-09 17:43:39 (GMT)
committerGitHub <noreply@github.com>2017-03-09 17:43:39 (GMT)
commit68d29809405dc766966b2b973b8597212fbc3dbd (patch)
treeb57d4ec2ee37817d3f70cd560af75ceb53c4287a /Include/fileutils.h
parent26d013e00f9d4adbcf3e084bbc890c799ff70407 (diff)
downloadcpython-68d29809405dc766966b2b973b8597212fbc3dbd.zip
cpython-68d29809405dc766966b2b973b8597212fbc3dbd.tar.gz
cpython-68d29809405dc766966b2b973b8597212fbc3dbd.tar.bz2
bpo-29619: Convert st_ino using unsigned integer (#557) (#584)
bpo-29619: os.stat() and os.DirEntry.inodeo() now convert inode (st_ino) using unsigned integers. (cherry picked from commit 0f6d73343d342c106cda2219ebb8a6f0c4bd9b3c) (Misc/NEWS conflict handled manually.)
Diffstat (limited to 'Include/fileutils.h')
-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;