diff options
author | Michael Forney <mforney@mforney.org> | 2022-12-07 13:11:58 -0800 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2022-12-09 19:49:41 +0100 |
commit | 1babebc12c3ea8d3395f00c9607e863866c190fc (patch) | |
tree | e6a4c5c646c518138060329b7334206e9e2fa738 | |
parent | 8d543fdb2115341ce7d2e3c2e866f2663fbe08c8 (diff) | |
download | mblaze-1babebc12c3ea8d3395f00c9607e863866c190fc.tar.gz mblaze-1babebc12c3ea8d3395f00c9607e863866c190fc.tar.xz mblaze-1babebc12c3ea8d3395f00c9607e863866c190fc.zip |
mlist: use fixed-width integer types for struct linux_dirent64 d_ino and d_off
-rw-r--r-- | mlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mlist.c b/mlist.c index 5debf99..20061d9 100644 --- a/mlist.c +++ b/mlist.c @@ -111,8 +111,8 @@ list(char *prefix, char *file) #include <sys/syscall.h> struct linux_dirent64 { - ino64_t d_ino; /* 64-bit inode number */ - off64_t d_off; /* 64-bit offset to next structure */ + uint64_t d_ino; /* 64-bit inode number */ + int64_t d_off; /* 64-bit offset to next structure */ unsigned short d_reclen; /* Size of this dirent */ unsigned char d_type; /* File type */ char d_name[]; /* Filename (null-terminated) */ |