aboutsummaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-10-15 16:47:29 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-10-15 16:47:29 -0400
commitfaf64b5d0fa53a4fcc5ac24aa2aada502937808b (patch)
tree3ca74e70ca9faedfbefad62d7aa6420cf5aee5ee /std
parentfcef7c4bb2f8705774b9d53c8f81a8e74cbcb630 (diff)
downloadzig-faf64b5d0fa53a4fcc5ac24aa2aada502937808b.tar.gz
zig-faf64b5d0fa53a4fcc5ac24aa2aada502937808b.zip
fix posix from previous commit
Diffstat (limited to 'std')
-rw-r--r--std/os/index.zig2
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;