We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b27e22c commit cdb3cc9Copy full SHA for cdb3cc9
src/memory.zig
@@ -57,7 +57,7 @@ pub fn zmeshMalloc(size: usize) callconv(.c) ?*anyopaque {
57
58
const mem = mem_allocator.?.alignedAlloc(
59
u8,
60
- mem_alignment,
+ mem_alignment.toByteUnits(),
61
size,
62
) catch @panic("zmesh: out of memory");
63
0 commit comments