From 9a4bd72c17305f5a75baedba91da727f9392f81f Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Mon, 17 Jul 2017 16:15:54 -0700 Subject: Redox: Use c_long instead of usize for off_t --- src/redox.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.1