From 5e10cdd5b4aa7486208dd14ebef4254ec5b5d03a Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Sat, 22 Jun 2024 21:28:05 +0200 Subject: Kernel: Use correct types for syscall The previous type was a 64 bit which causes problems for the syscall calling interface. --- kernel/includes/syscalls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/includes') diff --git a/kernel/includes/syscalls.h b/kernel/includes/syscalls.h index 2fabb2b..a7ebfe0 100644 --- a/kernel/includes/syscalls.h +++ b/kernel/includes/syscalls.h @@ -121,4 +121,4 @@ int syscall_socket(SYS_SOCKET_PARAMS *args); int syscall_fstat(int fd, struct stat *buf); u32 syscall_uptime(void); int syscall_isatty(int fd); -off_t syscall_lseek(int fd, off_t offset, int whence); +int syscall_lseek(int fd, int offset, int whence); -- cgit v1.2.3