From b93edf5b9eb6f392d40585e26df1663fccc0c09d Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 16 Jan 2019 08:41:05 -0700 Subject: Sync with upstream API Signed-off-by: Jens Axboe --- test/io_uring-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/io_uring-test.c') diff --git a/test/io_uring-test.c b/test/io_uring-test.c index 42a8745..a8e8cdf 100644 --- a/test/io_uring-test.c +++ b/test/io_uring-test.c @@ -59,7 +59,7 @@ int main(int argc, char *argv[]) sqe->ioprio = 0; sqe->fd = fd; sqe->off = offset; - sqe->addr = &iovecs[i]; + sqe->addr = (unsigned long) &iovecs[i]; sqe->len = 1; sqe->buf_index = 0; offset += iovecs[i].iov_len; -- cgit