From cf3aa78d998ffa2b55397ffb4f6f78c4498341a9 Mon Sep 17 00:00:00 2001 From: Sythivo <69376875+Sythivo@users.noreply.github.com> Date: Mon, 30 Dec 2024 15:23:02 -0500 Subject: [PATCH] Update Windows.zig (#36) --- src/aio/Windows.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/aio/Windows.zig b/src/aio/Windows.zig index e5f0809..72b35a0 100644 --- a/src/aio/Windows.zig +++ b/src/aio/Windows.zig @@ -227,10 +227,10 @@ fn onThreadTimeout(ctx: *anyopaque, user_data: usize) void { fn ovlOff(offset: u64) io.OVERLAPPED { return .{ - .Internal = undefined, - .InternalHigh = undefined, + .Internal = 0, + .InternalHigh = 0, .Anonymous = .{ .Anonymous = @bitCast(offset) }, - .hEvent = undefined, + .hEvent = null, }; }