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/init/syscalls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/init/syscalls.c') diff --git a/src/init/syscalls.c b/src/init/syscalls.c index b535cae..99f68f3 100644 --- a/src/init/syscalls.c +++ b/src/init/syscalls.c @@ -22,11 +22,11 @@ int _syscall_mount(handle_t handle, const char __user *path, int len) { return _syscall(_SYSCALL_MOUNT, handle, (int)path, len, 0); } -int _syscall_read(handle_t handle, char __user *buf, int len, int offset) { +int _syscall_read(handle_t handle, void __user *buf, int len, int offset) { return _syscall(_SYSCALL_READ, handle, (int)buf, len, offset); } -int _syscall_write(handle_t handle, const char __user *buf, int len, int offset) { +int _syscall_write(handle_t handle, const void __user *buf, int len, int offset) { return _syscall(_SYSCALL_WRITE, handle, (int)buf, len, offset); } -- cgit v1.2.3