diff options
author | Ian Douglas Scott <ian@iandouglasscott.com> | 2017-07-17 16:15:54 -0700 |
---|---|---|
committer | Ian Douglas Scott <ian@iandouglasscott.com> | 2017-07-17 16:15:54 -0700 |
commit | 9a4bd72c17305f5a75baedba91da727f9392f81f (patch) | |
tree | 84bc9dafb7161f8bbe60a0afcbfe5d170efc8205 | |
parent | c00686f3a22e419ddf13ab01db99ce828c5b74b5 (diff) | |
download | rust-libc-9a4bd72c17305f5a75baedba91da727f9392f81f.tar.gz |
Redox: Use c_long instead of usize for off_t
-rw-r--r-- | src/redox.rs | 2 |
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; |