Skip to content

Commit cdb3cc9

Browse files
committed
Zig 0.15.1 fixup
1 parent b27e22c commit cdb3cc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/memory.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ pub fn zmeshMalloc(size: usize) callconv(.c) ?*anyopaque {
5757

5858
const mem = mem_allocator.?.alignedAlloc(
5959
u8,
60-
mem_alignment,
60+
mem_alignment.toByteUnits(),
6161
size,
6262
) catch @panic("zmesh: out of memory");
6363

0 commit comments

Comments
 (0)