mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 21:08:36 +00:00
Fix compilation failure in valgrind.zig
This commit is contained in:
parent
8c6b0271cc
commit
2254882ebe
@ -171,7 +171,7 @@ pub fn createMempool(pool: [*]u8, rzB: usize, is_zeroed: bool, flags: usize) voi
|
||||
|
||||
/// Destroy a memory pool.
|
||||
pub fn destroyMempool(pool: [*]u8) void {
|
||||
doClientRequestStmt(.DestroyMempool, pool, 0, 0, 0, 0);
|
||||
doClientRequestStmt(.DestroyMempool, @intFromPtr(pool), 0, 0, 0, 0);
|
||||
}
|
||||
|
||||
/// Associate a piece of memory with a memory pool.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user