summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/unix/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/unix/mod.rs b/src/unix/mod.rs
index 4e3306f941..3d98624e58 100644
--- a/src/unix/mod.rs
+++ b/src/unix/mod.rs
@@ -229,9 +229,9 @@ pub const GRPQUOTA: ::c_int = 1;
pub const SIGIOT: ::c_int = 6;
-pub const S_ISUID: ::c_int = 0x800;
-pub const S_ISGID: ::c_int = 0x400;
-pub const S_ISVTX: ::c_int = 0x200;
+pub const S_ISUID: ::mode_t = 0x800;
+pub const S_ISGID: ::mode_t = 0x400;
+pub const S_ISVTX: ::mode_t = 0x200;
pub const IF_NAMESIZE: ::size_t = 16;
pub const IFNAMSIZ: ::size_t = IF_NAMESIZE;