diff --git a/src/unix/linux_like/android/b32/x86/mod.rs b/src/unix/linux_like/android/b32/x86/mod.rs index f048e8447c213..8fbc015dcf2e7 100644 --- a/src/unix/linux_like/android/b32/x86/mod.rs +++ b/src/unix/linux_like/android/b32/x86/mod.rs @@ -599,13 +599,13 @@ f! { len as ::c_long, flg as ::c_long, ]; - socketcall(SYS_ACCEPT4, &args) + socketcall(SYS_ACCEPT4, args[..].as_mut_ptr()) } } extern "C" { // used to implement `accept4`, but not made public - fn socketcall(call: c_int, args: *mut c_long) -> c_int; + fn socketcall(call: ::c_int, args: *mut ::c_long) -> ::c_int; } cfg_if! {