aboutsummaryrefslogtreecommitdiff
path: root/lib/std/child_process.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-10-31 13:02:38 -0700
committerJacob Young <jacobly0@users.noreply.github.com>2023-10-31 21:37:35 -0400
commit3fc6fc68129219a026ae3d7dff82513758e33a21 (patch)
treeab1a4fdc8886513ddbbfa7167ecf92eede629cfd /lib/std/child_process.zig
parent149200aac5f7f78fbb3427e3a9445c80efd2116b (diff)
downloadzig-3fc6fc68129219a026ae3d7dff82513758e33a21.tar.gz
zig-3fc6fc68129219a026ae3d7dff82513758e33a21.zip
std.builtin.Endian: make the tags lower case
Let's take this breaking change opportunity to fix the style of this enum.
Diffstat (limited to 'lib/std/child_process.zig')
-rw-r--r--lib/std/child_process.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/child_process.zig b/lib/std/child_process.zig
index ca1191398a..b3edbcd76a 100644
--- a/lib/std/child_process.zig
+++ b/lib/std/child_process.zig
@@ -1376,7 +1376,7 @@ fn writeIntFd(fd: i32, value: ErrInt) !void {
.capable_io_mode = .blocking,
.intended_io_mode = .blocking,
};
- file.writer().writeInt(u64, @intCast(value), .Little) catch return error.SystemResources;
+ file.writer().writeInt(u64, @intCast(value), .little) catch return error.SystemResources;
}
fn readIntFd(fd: i32) !ErrInt {
@@ -1385,7 +1385,7 @@ fn readIntFd(fd: i32) !ErrInt {
.capable_io_mode = .blocking,
.intended_io_mode = .blocking,
};
- return @as(ErrInt, @intCast(file.reader().readInt(u64, .Little) catch return error.SystemResources));
+ return @as(ErrInt, @intCast(file.reader().readInt(u64, .little) catch return error.SystemResources));
}
/// Caller must free result.