From 78a74ffaa65b527d0cf4303e4387071dd27cad14 Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Tue, 26 May 2026 20:31:10 -0700 Subject: [PATCH] FixedBufferStream: fix anyWritable --- fixed_buffer_stream.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fixed_buffer_stream.zig b/fixed_buffer_stream.zig index 9af8fbe6d2b3a40968ef435e76f375bac670b8fb..82b1f100de7a4c282ffb4d187c57bb3796b86d22 100644 --- a/fixed_buffer_stream.zig +++ b/fixed_buffer_stream.zig @@ -98,7 +98,7 @@ pub fn FixedBufferStream(comptime Buffer: type) type { pub fn anyWritable(self: *Self) nio.AnyWritable { const S = struct { - fn write(s: *allowzero anyopaque, buffer: []u8) anyerror!usize { + fn write(s: *allowzero anyopaque, buffer: []const u8) anyerror!usize { const fbs: *Self = @ptrCast(@alignCast(s)); return fbs.write(buffer); } -- 2.54.0