Skip to content

Commit 73a70cb

Browse files
committed
redox: make off_t and time_t long long
1 parent db3423b commit 73a70cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/unix/redox/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pub type ino_t = ::c_ulong;
2626
pub type mode_t = ::c_int;
2727
pub type nfds_t = ::c_ulong;
2828
pub type nlink_t = ::c_ulong;
29-
pub type off_t = ::c_long;
29+
pub type off_t = ::c_longlong;
3030
pub type pthread_t = *mut ::c_void;
3131
pub type pthread_attr_t = *mut ::c_void;
3232
pub type pthread_cond_t = *mut ::c_void;
@@ -46,7 +46,7 @@ pub type socklen_t = u32;
4646
pub type speed_t = u32;
4747
pub type suseconds_t = ::c_int;
4848
pub type tcflag_t = u32;
49-
pub type time_t = ::c_long;
49+
pub type time_t = ::c_longlong;
5050

5151
#[cfg_attr(feature = "extra_traits", derive(Debug))]
5252
pub enum timezone {}

0 commit comments

Comments
 (0)