From faf64b5d0fa53a4fcc5ac24aa2aada502937808b Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 15 Oct 2017 16:47:29 -0400 Subject: [PATCH] fix posix from previous commit --- std/os/index.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/os/index.zig b/std/os/index.zig index 498c10f51..0e1342ab3 100644 --- a/std/os/index.zig +++ b/std/os/index.zig @@ -1432,7 +1432,7 @@ const unexpected_error_tracing = false; /// Call this when you made a syscall or something that sets errno /// and you get an unexpected error. -pub fn unexpectedErrorPosix(errno: c_int) -> error { +pub fn unexpectedErrorPosix(errno: usize) -> error { if (unexpected_error_tracing) { io.stderr.printf("unexpected errno: {}\n", errno) %% return; debug.printStackTrace() %% return;