Skip to content

Commit c6a3cd6

Browse files
authored
Merge pull request #4324 from Berrysoft/cygwin-statfs
cygwin: fix member types of statfs
2 parents c2f5c64 + 9b40335 commit c6a3cd6

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/unix/cygwin/mod.rs

+10-10
Original file line numberDiff line numberDiff line change
@@ -437,16 +437,16 @@ s! {
437437
}
438438

439439
pub struct statfs {
440-
pub f_type: c_ulong,
441-
pub f_bsize: c_ulong,
442-
pub f_blocks: c_ulong,
443-
pub f_bfree: c_ulong,
444-
pub f_bavail: c_ulong,
445-
pub f_files: c_ulong,
446-
pub f_ffree: c_ulong,
447-
pub f_fsid: c_ulong,
448-
pub f_namelen: c_ulong,
449-
pub f_spare: [c_ulong; 6],
440+
pub f_type: c_long,
441+
pub f_bsize: c_long,
442+
pub f_blocks: c_long,
443+
pub f_bfree: c_long,
444+
pub f_bavail: c_long,
445+
pub f_files: c_long,
446+
pub f_ffree: c_long,
447+
pub f_fsid: c_long,
448+
pub f_namelen: c_long,
449+
pub f_spare: [c_long; 6],
450450
}
451451
}
452452

0 commit comments

Comments
 (0)