diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/os.zig | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -20,6 +20,7 @@ fn autoCast(value: anytype) usize { .Void => @compileError("cannot pass void to system call"), .NoReturn => @compileError("cannot pass noreturn to system call"), .Pointer => @intFromPtr(value), + .Bool => @intFromBool(value), else => value, }; } |