Skip to content

Commit

Permalink
Upgrade to latest Zig
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnikaCodes committed Jul 23, 2023
1 parent deb1407 commit d42e27e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ pub fn main() anyerror!void {
try stderr_print("error: too many faults ({}) to exit with the correct exit code", .{fault_count});
std.process.exit(255);
}
std.process.exit(@intCast(u8, fault_count));
std.process.exit(@as(u8, @intCast(fault_count)));
}

// Creates a Configuration object for the given file based on the nearest ziglintrc file.
Expand Down

0 comments on commit d42e27e

Please sign in to comment.