The type of eventfd's 'initval' argument should be unsigned.
This commit is contained in:
parent
04d93c96be
commit
eeb75827c5
@ -435,7 +435,7 @@ extern {
|
||||
serv: *mut ::c_char,
|
||||
sevlen: ::socklen_t,
|
||||
flags: ::c_int) -> ::c_int;
|
||||
pub fn eventfd(init: ::c_int, flags: ::c_int) -> ::c_int;
|
||||
pub fn eventfd(init: ::c_uint, flags: ::c_int) -> ::c_int;
|
||||
pub fn ptrace(request: ::c_uint, ...) -> ::c_long;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user