2
0
mirror of https://github.com/boostorg/asio.git synced 2026-02-23 14:02:13 +00:00

Fix use of nullptr.

This commit is contained in:
Christopher Kohlhoff
2023-03-06 23:37:18 +11:00
parent d40e6257bb
commit 03f3fa07f1

View File

@@ -689,7 +689,7 @@ __kernel_timespec io_uring_service::get_timeout() const
}
if (sqe)
{
::io_uring_sqe_set_data(sqe, nullptr);
::io_uring_sqe_set_data(sqe, 0);
++pending_sqes_;
}
return sqe;