There was an error while loading. Please reload this page.
1 parent fcef7c4 commit faf64b5Copy full SHA for faf64b5
1 file changed
std/os/index.zig
@@ -1432,7 +1432,7 @@ const unexpected_error_tracing = false;
1432
1433
/// Call this when you made a syscall or something that sets errno
1434
/// and you get an unexpected error.
1435
-pub fn unexpectedErrorPosix(errno: c_int) -> error {
+pub fn unexpectedErrorPosix(errno: usize) -> error {
1436
if (unexpected_error_tracing) {
1437
io.stderr.printf("unexpected errno: {}\n", errno) %% return;
1438
debug.printStackTrace() %% return;
0 commit comments