diff options
Diffstat (limited to 'src/fs/ntapi_tt_stat.c')
-rw-r--r-- | src/fs/ntapi_tt_stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/ntapi_tt_stat.c b/src/fs/ntapi_tt_stat.c index cab84c3..088adf6 100644 --- a/src/fs/ntapi_tt_stat.c +++ b/src/fs/ntapi_tt_stat.c @@ -56,7 +56,7 @@ int32_t __stdcall __ntapi_tt_stat( __ntapi->tt_aligned_block_memcpy( (uintptr_t *)stat, (uintptr_t *)buffer, - ((size_t)(&((nt_fai *)0)->name_info))); + __offsetof(nt_fai,name_info)); /* record volume-relative file name length */ fai = (nt_fai *)buffer; |