From 29dc3ffdf49b38a46df19605dcc1f913bfe363d1 Mon Sep 17 00:00:00 2001 From: David Gonzalez Martin Date: Mon, 2 Oct 2023 14:20:40 -0600 Subject: [PATCH] Fix release build --- src/Compilation.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Compilation.zig b/src/Compilation.zig index d2268d4..3669529 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -207,7 +207,7 @@ pub const Syscall = struct { arguments: [6]Value.Index, argument_count: u8, - pub fn getArguments(syscall: Syscall) []const Value.Index { + pub fn getArguments(syscall: *const Syscall) []const Value.Index { return syscall.arguments[0..syscall.argument_count]; }