mlist: use fixed-width integer types for struct linux_dirent64 d_ino and d_off

pull/235/head
Michael Forney 1 year ago committed by Leah Neukirchen
parent 8d543fdb21
commit 1babebc12c

@ -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) */

Loading…
Cancel
Save