Skip to content

Commit 29ce230

Browse files
committed
Fixup compile error from #9
1 parent dd1f002 commit 29ce230

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zaudio.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2718,7 +2718,7 @@ fn zaudioMalloc(size: usize, _: ?*anyopaque) callconv(.c) ?*anyopaque {
27182718

27192719
const mem = mem_allocator.?.alignedAlloc(
27202720
u8,
2721-
.fromByteUnits(mem_alignment),
2721+
mem_alignment,
27222722
size,
27232723
) catch @panic("zaudio: out of memory");
27242724

0 commit comments

Comments
 (0)