authorgravatar for contact@kaij.techKai Jellinghaus <contact@kaij.tech> 2023-10-12 11:00:25+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-10-12 10:17:49-07:00
log2254882ebe1f3fa9e616347d09002e5420cf1221
tree237373b210c6865825386e883a927a86bae66173
parent8c6b0271cc55d4c9ae2793340419df3fd3d2c1d7

Fix compilation failure in valgrind.zig


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

lib/std/valgrind.zig+1-1
......@@ -171,7 +171,7 @@ pub fn createMempool(pool: [*]u8, rzB: usize, is_zeroed: bool, flags: usize) voi
171171
172172/// Destroy a memory pool.
173173pub fn destroyMempool(pool: [*]u8) void {
174 doClientRequestStmt(.DestroyMempool, pool, 0, 0, 0, 0);
174 doClientRequestStmt(.DestroyMempool, @intFromPtr(pool), 0, 0, 0, 0);
175175}
176176
177177/// Associate a piece of memory with a memory pool.