summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-07-17 21:54:07 -0500
committerGitHub <noreply@github.com>2017-07-17 21:54:07 -0500
commit73873315c2787b869a827dd43f3ecd728bf51542 (patch)
tree5bf0f6d6f76e65313f9ce41d659f455dc19877aa
parent12e22cf5a573d90ec935a93ba4a6f7574317f8ea (diff)
parent9a4bd72c17305f5a75baedba91da727f9392f81f (diff)
downloadrust-libc-73873315c2787b869a827dd43f3ecd728bf51542.tar.gz
Merge pull request #674 from ids1024/off_t
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;