Skip to content

Commit d9bc89d

Browse files
committed
use int64_t types instead of loff_t
See liburing's aeee6681b14fb6fbd087edd58fcf811077651c16 for details. They moved away from loff_t, and the code as is doesn't compile with liburing's master branch.
1 parent 05bcecc commit d9bc89d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rusturing.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ extern inline void rust_io_uring_prep_rw(int op,
4141
}
4242

4343
extern inline void rust_io_uring_prep_splice(struct io_uring_sqe *sqe,
44-
int fd_in, loff_t off_in,
45-
int fd_out, loff_t off_out,
44+
int fd_in, int64_t off_in,
45+
int fd_out, int64_t off_out,
4646
unsigned int nbytes,
4747
unsigned int splice_flags)
4848
{

0 commit comments

Comments
 (0)