Skip to content

Commit eeb7582

Browse files
committed
The type of eventfd's 'initval' argument should be unsigned.
1 parent 04d93c9 commit eeb7582

File tree

1 file changed

+1
-1
lines changed
  • src/unix/notbsd/linux/other

1 file changed

+1
-1
lines changed

src/unix/notbsd/linux/other/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ extern {
435435
serv: *mut ::c_char,
436436
sevlen: ::socklen_t,
437437
flags: ::c_int) -> ::c_int;
438-
pub fn eventfd(init: ::c_int, flags: ::c_int) -> ::c_int;
438+
pub fn eventfd(init: ::c_uint, flags: ::c_int) -> ::c_int;
439439
pub fn ptrace(request: ::c_uint, ...) -> ::c_long;
440440
}
441441

0 commit comments

Comments
 (0)