authorgravatar for 38244149+jazzzooo@users.noreply.github.comJustas Zabulionis <38244149+jazzzooo@users.noreply.github.com> 2022-08-22 04:55:00-06:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2022-08-22 13:55:00+03:00
log24d718e7ebcf9b13044ead80510c6c703eebd929
treec5a50a3da8f8b5785b56d8648af3e16229be3b80
parent6c020cdb767192757b6c4b43e2f14c5394760431
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

std.valgrind.callgrind: fix string type

Fixes the error when using std.vallgrind.callgrind: error: expected type '[2]u8', found '*const [2:0]u8'

1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/valgrind/callgrind.zig+1-1
...@@ -2,7 +2,7 @@ const std = @import("../std.zig");...@@ -2,7 +2,7 @@ const std = @import("../std.zig");
2const valgrind = std.valgrind;2const valgrind = std.valgrind;
33
4pub const CallgrindClientRequest = enum(usize) {4pub const CallgrindClientRequest = enum(usize) {
5 DumpStats = valgrind.ToolBase("CT"),5 DumpStats = valgrind.ToolBase("CT".*),
6 ZeroStats,6 ZeroStats,
7 ToggleCollect,7 ToggleCollect,
8 DumpStatsAt,8 DumpStatsAt,