diff --git a/libc/src/unistd/linux/lseek.cpp b/libc/src/unistd/linux/lseek.cpp --- a/libc/src/unistd/linux/lseek.cpp +++ b/libc/src/unistd/linux/lseek.cpp @@ -26,7 +26,7 @@ #elif defined(SYS_llseek) long ret = __llvm_libc::syscall_impl(SYS_llseek, fd, (long)(((uint64_t)(offset)) >> 32), - (long)offset, &result, whence); + (long)offset, (long)&result, whence); result = ret; #elif defined(SYS__llseek) int ret = __llvm_libc::syscall_impl(SYS__llseek, fd, offset >> 32,