Skip to content

Commit ada0b0d

Browse files
committed
fix 0.16.x
1 parent 31ec3e6 commit ada0b0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/android/android.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ const AndroidLog = struct {
176176
};
177177
}
178178

179-
fn log_each_newline(logger: *AndroidLog, buffer: []const u8) std.io.Writer.Error!usize {
179+
fn log_each_newline(logger: *AndroidLog, buffer: []const u8) std.Io.Writer.Error!usize {
180180
var written: usize = 0;
181181
var bytes_to_log = buffer;
182182
while (std.mem.indexOfScalar(u8, bytes_to_log, '\n')) |newline_pos| {
@@ -191,7 +191,7 @@ const AndroidLog = struct {
191191
return written;
192192
}
193193

194-
fn drain(w: *std.Io.Writer, data: []const []const u8, splat: usize) std.io.Writer.Error!usize {
194+
fn drain(w: *std.Io.Writer, data: []const []const u8, splat: usize) std.Io.Writer.Error!usize {
195195
const logger: *AndroidLog = @alignCast(@fieldParentPtr("writer", w));
196196
var written: usize = 0;
197197

0 commit comments

Comments
 (0)