Skip to content

Commit 7d92568

Browse files
no1wuditgross35
authored andcommitted
fix: use nlink_t type for st_nlink in struct stat definition for NuttX
(backport <#4483>) (cherry picked from commit 8620c2c)
1 parent 790180b commit 7d92568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/nuttx/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ s! {
3232
pub st_dev: dev_t,
3333
pub st_ino: ino_t,
3434
pub st_mode: mode_t,
35-
pub st_nlink: u64,
35+
pub st_nlink: nlink_t,
3636
pub st_uid: u32,
3737
pub st_gid: u32,
3838
pub st_rdev: dev_t,

0 commit comments

Comments
 (0)