Skip to content

Commit ecaeff3

Browse files
Alexander Polakovroot
Alexander Polakov
authored and
root
committed
Fix mips fallout on new toolchain
1 parent f9b4f00 commit ecaeff3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/unix/notbsd/linux/mips.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ s! {
6363
}
6464

6565
pub struct sigaction {
66-
pub sa_flags: ::c_uint,
66+
pub sa_flags: ::c_int,
6767
pub sa_sigaction: ::sighandler_t,
6868
pub sa_mask: sigset_t,
6969
_restorer: *mut ::c_void,
@@ -454,7 +454,7 @@ extern {
454454
hostlen: ::socklen_t,
455455
serv: *mut ::c_char,
456456
sevlen: ::socklen_t,
457-
flags: ::c_uint) -> ::c_int;
457+
flags: ::c_int) -> ::c_int;
458458
pub fn eventfd(init: ::c_int, flags: ::c_int) -> ::c_int;
459459
pub fn ptrace(request: ::c_uint, ...) -> ::c_long;
460460
}

0 commit comments

Comments
 (0)