Skip to content

Commit 856e06b

Browse files
committed
remove const from io_uring_prep_files_update
This keeps us in line with upstream.
1 parent 21a4595 commit 856e06b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

liburing-rs/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -596,8 +596,8 @@ pub unsafe fn io_uring_prep_epoll_wait(sqe: *mut io_uring_sqe, fd: c_int,
596596
}
597597

598598
#[inline]
599-
pub unsafe fn io_uring_prep_files_update(sqe: *mut io_uring_sqe, fds: *const c_int,
600-
nr_fds: c_uint, offset: c_int)
599+
pub unsafe fn io_uring_prep_files_update(sqe: *mut io_uring_sqe, fds: *mut c_int, nr_fds: c_uint,
600+
offset: c_int)
601601
{
602602
io_uring_prep_rw(IORING_OP_FILES_UPDATE, sqe, -1, fds.cast(), nr_fds, offset as u64);
603603
}

0 commit comments

Comments
 (0)