zig
zig copied to clipboard
fix integer overflow in IoUring buffer ring size calculation
entries can be up to 32768, so the result does not fit into the 16bits given by peer type resolution.
@ianic, can you take a look?
Good point.
posix.mmap length parameter is usize so this mmap_size can also be usize