summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Douglas Scott <ian@iandouglasscott.com>2017-07-17 16:15:54 -0700
committerIan Douglas Scott <ian@iandouglasscott.com>2017-07-17 16:15:54 -0700
commit9a4bd72c17305f5a75baedba91da727f9392f81f (patch)
tree84bc9dafb7161f8bbe60a0afcbfe5d170efc8205
parentc00686f3a22e419ddf13ab01db99ce828c5b74b5 (diff)
downloadrust-libc-9a4bd72c17305f5a75baedba91da727f9392f81f.tar.gz
Redox: Use c_long instead of usize for off_t
-rw-r--r--src/redox.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redox.rs b/src/redox.rs
index 87c76ba9bc..f4f6178cfc 100644
--- a/src/redox.rs
+++ b/src/redox.rs
@@ -4,7 +4,7 @@ pub type c_ulong = u64;
pub type wchar_t = i16;
-pub type off_t = usize;
+pub type off_t = c_long;
pub type mode_t = u16;
pub type time_t = i64;
pub type pid_t = usize;