From b0cd40d1de896f6d23e68b2f50a6fb3b22923a76 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 14 Jul 2024 15:16:16 -0700 Subject: [PATCH] termio: fix windows build --- src/termio/Exec.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/termio/Exec.zig b/src/termio/Exec.zig index 71fd6b777..4e692cde1 100644 --- a/src/termio/Exec.zig +++ b/src/termio/Exec.zig @@ -1237,7 +1237,7 @@ pub const ReadThread = struct { } } - fn threadMainWindows(fd: posix.fd_t, ev: *termio.Termio.ReadData, quit: posix.fd_t) void { + fn threadMainWindows(fd: posix.fd_t, io: *termio.Termio, quit: posix.fd_t) void { // Always close our end of the pipe when we exit. defer posix.close(quit); @@ -1258,7 +1258,7 @@ pub const ReadThread = struct { } } - @call(.always_inline, termio.Termio.processOutputReadData, .{ ev, buf[0..n] }); + @call(.always_inline, termio.Termio.processOutput, .{ io, buf[0..n] }); } var quit_bytes: windows.DWORD = 0;