| author | |
| committer | |
| log | b96b780d05d151fba5c65f3360530e4a4455d8cf |
| tree | 1ec13d41d0429cfa447fe00a1c964f6f5703f353 |
| parent | f9dae4229a9654fc124424333e0c0909834b6b8b |
| signature |
1 files changed, 1 insertions(+), 1 deletions(-)
buffered_writer.zig+1-1| ... | ... | @@ -49,7 +49,7 @@ pub fn BufferedWriter(comptime buffer_size: usize, comptime WriterType: type) ty |
| 49 | 49 | |
| 50 | 50 | pub fn anyWritable(self: *Self) nio.AnyWritable { |
| 51 | 51 | const S = struct { |
| 52 | fn write(s: *allowzero anyopaque, buffer: []u8) anyerror!usize { | |
| 52 | fn write(s: *allowzero anyopaque, buffer: []const u8) anyerror!usize { | |
| 53 | 53 | const bw: *Self = @ptrCast(@alignCast(s)); |
| 54 | 54 | return bw.write(buffer); |
| 55 | 55 | } |