aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/report.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/report.zig b/src/report.zig
index 3e3abe6e3..a83c75bad 100644
--- a/src/report.zig
+++ b/src/report.zig
@@ -259,8 +259,8 @@ pub noinline fn handleCrash(signal: i32, addr: usize) void {
};
crash_report_writer.print(
- "\n<r><red>{s}<d> at 0x{}\n\n",
- .{ @errorName(name), std.fmt.fmtSliceHexUpper(std.mem.asBytes(addr)) },
+ "\n<r><red>{s}<d> at 0x{any}\n\n",
+ .{ @errorName(name), std.fmt.fmtSliceHexUpper(std.mem.asBytes(&addr)) },
);
printMetadata();
CrashReportWriter.dump();