Skip to content

Commit 9c8cd59

Browse files
authored
Merge pull request #4483 from no1wudi/main
fix: use nlink_t type for st_nlink in struct stat definition for NuttX
2 parents 2a64130 + 8620c2c commit 9c8cd59

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)