From 9e9498c227085d8b999799843aa2d388b19653a6 Mon Sep 17 00:00:00 2001 From: usa Date: Mon, 11 Dec 2017 17:31:43 +0000 Subject: fixed typo * win32/win32.c (get_ino): forgotten to specify the member. thanks kubo-san. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/win32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'win32/win32.c') 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; -- cgit v1.2.3