Skip to content

Commit 059b698

Browse files
committed
32bit gnu types when _TIME_BITS=64 and _FILE_OFFSET_BITS=64
1 parent a7c13b9 commit 059b698

File tree

1 file changed

+7
-7
lines changed
  • src/unix/linux_like/linux/gnu/b32

1 file changed

+7
-7
lines changed

src/unix/linux_like/linux/gnu/b32/mod.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ cfg_if! {
2929
pub type rlim_t = u64;
3030
pub type blksize_t = i64;
3131
} else {
32-
pub type time_t = i32;
32+
pub type time_t = i64;
3333
pub type suseconds_t = i32;
34-
pub type ino_t = u32;
35-
pub type off_t = i32;
36-
pub type blkcnt_t = i32;
37-
pub type fsblkcnt_t = ::c_ulong;
38-
pub type fsfilcnt_t = ::c_ulong;
39-
pub type rlim_t = c_ulong;
34+
pub type ino_t = u64;
35+
pub type off_t = i64;
36+
pub type blkcnt_t = i64;
37+
pub type fsblkcnt_t = u64;
38+
pub type fsfilcnt_t = u64;
39+
pub type rlim_t = u64;
4040
pub type blksize_t = i32;
4141
}
4242
}

0 commit comments

Comments
 (0)