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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user