From 9b403359a6a53acb07f0e27a2b72e6d8148f2524 Mon Sep 17 00:00:00 2001 From: Berrysoft Date: Wed, 12 Mar 2025 13:11:36 +0800 Subject: [PATCH] cygwin: fix member types of statfs --- src/unix/cygwin/mod.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/unix/cygwin/mod.rs b/src/unix/cygwin/mod.rs index ac24c2f3a0105..312324a5e80fd 100644 --- a/src/unix/cygwin/mod.rs +++ b/src/unix/cygwin/mod.rs @@ -437,16 +437,16 @@ s! { } pub struct statfs { - pub f_type: c_ulong, - pub f_bsize: c_ulong, - pub f_blocks: c_ulong, - pub f_bfree: c_ulong, - pub f_bavail: c_ulong, - pub f_files: c_ulong, - pub f_ffree: c_ulong, - pub f_fsid: c_ulong, - pub f_namelen: c_ulong, - pub f_spare: [c_ulong; 6], + pub f_type: c_long, + pub f_bsize: c_long, + pub f_blocks: c_long, + pub f_bfree: c_long, + pub f_bavail: c_long, + pub f_files: c_long, + pub f_ffree: c_long, + pub f_fsid: c_long, + pub f_namelen: c_long, + pub f_spare: [c_long; 6], } }