Skip to content

Commit

Permalink
Update to zig 0.10.0, wasm4 2.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ibillingsley committed Jan 14, 2023
1 parent bff42f1 commit 7f3e3e0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified dist/one-slime-army.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ fn drawLineF(x1: f64, y1: f64, x2: f64, y2: f64) void {
w4.line(round(i32, x1), round(i32, y1), round(i32, x2), round(i32, y2));
}

fn drawInt(value: anytype, x: i32, y: i32, len: comptime_int) void {
fn drawInt(value: anytype, x: i32, y: i32, comptime len: u32) void {
var buffer: [len]u8 = undefined;
w4.text(std.fmt.bufPrintIntToSlice(buffer[0..], value, 10, .lower, .{}), x, y);
}
Expand Down

0 comments on commit 7f3e3e0

Please sign in to comment.