zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 15f0af09d0ba8e8a6a7b44702913ca309afe2296 (tree)
parent b778826df5836a4383e06e7434012e9a91a510ba
Author: xeondev <reversedrooms@gmail.com>
Date:   Wed,  4 Mar 2026 13:15:06 +0300

Io.Threaded.batchAwaitConcurrent: fix poll args

Diffstat:
Mlib/std/Io/Threaded.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/std/Io/Threaded.zig b/lib/std/Io/Threaded.zig @@ -2868,7 +2868,7 @@ fn batchAwaitConcurrent(userdata: ?*anyopaque, b: *Io.Batch, timeout: Io.Timeout break :t @min(@max(0, duration.raw.toMilliseconds()), std.math.maxInt(i32)); }; const syscall = try Syscall.start(); - const rc = posix.system.poll(&poll_buffer, poll_storage.len, timeout_ms); + const rc = posix.system.poll(poll_storage.slice.ptr, poll_storage.len, timeout_ms); syscall.finish(); switch (posix.errno(rc)) { .SUCCESS => {