authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-26 20:31:10 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-26 20:31:10 -07:00
log78a74ffaa65b527d0cf4303e4387071dd27cad14
tree0936c95a6f8b0b6010eee592ee649d17b0bfc0cb
parent9a1c388a4408e4dab3871c5dcb83efcc709b7d7f
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

FixedBufferStream: fix anyWritable


1 files changed, 1 insertions(+), 1 deletions(-)

fixed_buffer_stream.zig+1-1
...@@ -98,7 +98,7 @@ pub fn FixedBufferStream(comptime Buffer: type) type {...@@ -98,7 +98,7 @@ pub fn FixedBufferStream(comptime Buffer: type) type {
9898
99 pub fn anyWritable(self: *Self) nio.AnyWritable {99 pub fn anyWritable(self: *Self) nio.AnyWritable {
100 const S = struct {100 const S = struct {
101 fn write(s: *allowzero anyopaque, buffer: []u8) anyerror!usize {101 fn write(s: *allowzero anyopaque, buffer: []const u8) anyerror!usize {
102 const fbs: *Self = @ptrCast(@alignCast(s));102 const fbs: *Self = @ptrCast(@alignCast(s));
103 return fbs.write(buffer);103 return fbs.write(buffer);
104 }104 }