Skip to content

Commit

Permalink
fix posix from previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrk committed Oct 15, 2017
1 parent fcef7c4 commit faf64b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/os/index.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit faf64b5

Please sign in to comment.