From 5915d78a9a1b5123198b671ded6db40c69c611c7 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 27 Mar 2022 17:04:11 +0200 Subject: shared/syscalls: change some pointer types to void* --- src/shared/syscalls.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/shared') diff --git a/src/shared/syscalls.h b/src/shared/syscalls.h index b78246c..3e21b6c 100644 --- a/src/shared/syscalls.h +++ b/src/shared/syscalls.h @@ -43,8 +43,8 @@ int _syscall_fork(void); handle_t _syscall_open(const char __user *path, int len); int _syscall_mount(handle_t, const char __user *path, int len); -int _syscall_read(handle_t, char __user *buf, int len, int offset); -int _syscall_write(handle_t, const char __user *buf, int len, int offset); +int _syscall_read(handle_t, void __user *buf, int len, int offset); +int _syscall_write(handle_t, const void __user *buf, int len, int offset); int _syscall_close(handle_t); handle_t _syscall_fs_fork2(void); -- cgit v1.2.3