summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 754513b9ad..da68387f6a 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -5475,8 +5475,8 @@ stati128_handle(HANDLE h, struct stati128 *st)
st->st_nlink = info.nNumberOfLinks;
attr = info.dwFileAttributes;
if (!get_ino(h, &fii)) {
- st->st_ino = *((unsigned __int64 *)&fii);
- st->st_inohigh = *((__int64 *)&fii + 1);
+ st->st_ino = *((unsigned __int64 *)&fii.FileId);
+ st->st_inohigh = *((__int64 *)&fii.FileId + 1);
}
else {
st->st_ino = ((__int64)info.nFileIndexHigh << 32) | info.nFileIndexLow;