Skip to content

Commit 39fc803

Browse files
committed
FIX: replace ino_t with u64 to comply with statx
1 parent c8f364d commit 39fc803

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/metadata.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ impl Metadata {
5151
Some(self.stat.st_mode as u32 & libc::S_IFMT as u32)
5252
}
5353
/// Return device node, if available
54-
pub fn ino(&self) -> Option<libc::ino_t> {
55-
Some(self.stat.st_ino)
54+
pub fn ino(&self) -> Option<u64> {
55+
Some(self.stat.st_ino as u64)
5656
}
5757
/// Return device node major of the file, if available
5858
pub fn dev_major(&self) -> Option<u32> {

0 commit comments

Comments
 (0)