From 57fcd882fc5488dcd4a1e27aabc83a14d2f725d0 Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Thu, 24 Nov 2022 02:26:28 -0800 Subject: [PATCH] Update streams.zig --- src/bun.js/webcore/streams.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bun.js/webcore/streams.zig b/src/bun.js/webcore/streams.zig index 2cdbc4f1c9..88e5c54ac4 100644 --- a/src/bun.js/webcore/streams.zig +++ b/src/bun.js/webcore/streams.zig @@ -3552,7 +3552,7 @@ pub const FIFO = struct { return @intCast(u32, @maximum(len, 0)); } - pub fn adjustCapacityOnLinux(this: *FIFO, current: u32, max: u32) u32 { + pub fn adjustCapacityOnLinux(this: *FIFO, current: u32, max: u32) void { // we do not un-mark it as readable if there's nothing in the pipe if (!this.has_adjusted_pipe_size_on_linux) { if (current > 0 and max >= std.mem.page_size * 16) {