Skip to content
Snippets Groups Projects
Commit c3b57183 authored by Florian Fischer's avatar Florian Fischer
Browse files

[IO] improve Future member types

Use int32_t as Future returnValue instead of ssize_t since
io_uring uses int32_t not ssize_t as results value therefore it is
pointless to use a bigger type.

This shrinks the future size and prevents useless and implementation defined
narrowing conversions from ssize_t to int32_t.

Use union for flags and offset.

Ignore int to pointer cast clang-tidy warning.
parent 25832819
No related branches found
No related tags found
1 merge request!205Fix most llvm-12 clang-tidy warnings in IO code
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment