| ... | @@ -171,7 +171,7 @@ pub fn createMempool(pool: [*]u8, rzB: usize, is_zeroed: bool, flags: usize) voi | ... | @@ -171,7 +171,7 @@ pub fn createMempool(pool: [*]u8, rzB: usize, is_zeroed: bool, flags: usize) voi |
| 171 | | 171 | |
| 172 | /// Destroy a memory pool. | 172 | /// Destroy a memory pool. |
| 173 | pub fn destroyMempool(pool: [*]u8) void { | 173 | pub fn destroyMempool(pool: [*]u8) void { |
| 174 | doClientRequestStmt(.DestroyMempool, pool, 0, 0, 0, 0); | 174 | doClientRequestStmt(.DestroyMempool, @intFromPtr(pool), 0, 0, 0, 0); |
| 175 | } | 175 | } |
| 176 | | 176 | |
| 177 | /// Associate a piece of memory with a memory pool. | 177 | /// Associate a piece of memory with a memory pool. |