std.valgrind.callgrind: fix string type

Fixes the error when using std.vallgrind.callgrind:
error: expected type '[2]u8', found '*const [2:0]u8'
This commit is contained in:
Justas Zabulionis 2022-08-22 04:55:00 -06:00 committed by GitHub
parent 6c020cdb76
commit 24d718e7eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,