diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/root.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/root.zig b/src/root.zig index d4d2011..e480685 100644 --- a/src/root.zig +++ b/src/root.zig @@ -25,7 +25,7 @@ fn autoCast(value: anytype) usize { } fn ecall(number: usize, args: anytype) Result { - comptime var registers = [_]usize{0} ** max_args; + var registers = [_]usize{0} ** max_args; inline for (args, 0..) |arg, i| { if (i >= max_args) @compileError("too many arguments to system call"); registers[i] = autoCast(arg); |