Commit 24d718e7eb

Justas Zabulionis <38244149+jazzzooo@users.noreply.github.com>
2022-08-22 12:55:00
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 parent 6c020cd
Changed files (1)
lib
std
valgrind
lib/std/valgrind/callgrind.zig
@@ -2,7 +2,7 @@ const std = @import("../std.zig");
 const valgrind = std.valgrind;
 
 pub const CallgrindClientRequest = enum(usize) {
-    DumpStats = valgrind.ToolBase("CT"),
+    DumpStats = valgrind.ToolBase("CT".*),
     ZeroStats,
     ToggleCollect,
     DumpStatsAt,