diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-10-15 16:47:29 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-10-15 16:47:29 -0400 |
| commit | faf64b5d0fa53a4fcc5ac24aa2aada502937808b (patch) | |
| tree | 3ca74e70ca9faedfbefad62d7aa6420cf5aee5ee /std | |
| parent | fcef7c4bb2f8705774b9d53c8f81a8e74cbcb630 (diff) | |
| download | zig-faf64b5d0fa53a4fcc5ac24aa2aada502937808b.tar.gz zig-faf64b5d0fa53a4fcc5ac24aa2aada502937808b.zip | |
fix posix from previous commit
Diffstat (limited to 'std')
| -rw-r--r-- | std/os/index.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/os/index.zig b/std/os/index.zig index 498c10f518..0e1342ab3d 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; |
