diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-11 17:31:43 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-11 17:31:43 +0000 |
commit | 9e9498c227085d8b999799843aa2d388b19653a6 (patch) | |
tree | f1f01c19d14bbee468ffbb85e673df43be6e25a8 /win32 | |
parent | b5d5cce11b6980e963d84a7ee16a3d9a04a682da (diff) |
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
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.c | 4 |
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; |