aboutsummaryrefslogtreecommitdiff
path: root/std/os
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-04-18 00:05:09 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-04-18 00:05:09 -0400
commit407916cd2f3f4931de29fd87b8c9ae3faeba8452 (patch)
tree5ee194f80ce127d81e220869cd56bb53c1c04f17 /std/os
parentdef4fbc9ab704b1add5c3af40692b3d26594e58e (diff)
downloadzig-407916cd2f3f4931de29fd87b8c9ae3faeba8452.tar.gz
zig-407916cd2f3f4931de29fd87b8c9ae3faeba8452.zip
rename `@intType` to `@IntType` to follow convention
closes #327
Diffstat (limited to 'std/os')
-rw-r--r--std/os/child_process.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/os/child_process.zig b/std/os/child_process.zig
index f3d9a112e3..7dd02635d8 100644
--- a/std/os/child_process.zig
+++ b/std/os/child_process.zig
@@ -229,7 +229,7 @@ fn forkChildErrReport(fd: i32, err: error) -> noreturn {
posix.exit(1);
}
-const ErrInt = @intType(false, @sizeOf(error) * 8);
+const ErrInt = @IntType(false, @sizeOf(error) * 8);
fn writeIntFd(fd: i32, value: ErrInt) -> %void {
var bytes: [@sizeOf(ErrInt)]u8 = undefined;
mem.writeInt(bytes[0...], value, true);