Skip to content

Commit 86b92f3

Browse files
committed
android: process_vm*: fix return type
1 parent 8624caf commit 86b92f3

File tree

1 file changed

+2
-2
lines changed
  • src/unix/linux_like/android

1 file changed

+2
-2
lines changed

Diff for: src/unix/linux_like/android/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2394,15 +2394,15 @@ extern "C" {
23942394
remote_iov: *const ::iovec,
23952395
riovcnt: ::c_ulong,
23962396
flags: ::c_ulong,
2397-
) -> isize;
2397+
) -> ::ssize_t;
23982398
pub fn process_vm_writev(
23992399
pid: ::pid_t,
24002400
local_iov: *const ::iovec,
24012401
liovcnt: ::c_ulong,
24022402
remote_iov: *const ::iovec,
24032403
riovcnt: ::c_ulong,
24042404
flags: ::c_ulong,
2405-
) -> isize;
2405+
) -> ::ssize_t;
24062406
pub fn ptrace(request: ::c_int, ...) -> ::c_long;
24072407
pub fn getpriority(which: ::c_int, who: ::id_t) -> ::c_int;
24082408
pub fn setpriority(which: ::c_int, who: ::id_t, prio: ::c_int) -> ::c_int;

0 commit comments

Comments
 (0)