diff options
| author | Jonathan Marler <johnnymarler@gmail.com> | 2022-05-14 08:30:29 -0600 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-05-26 19:50:10 -0400 |
| commit | ee1a95b555464d5a309992b06e02efd07770026c (patch) | |
| tree | 3079f149403f6861472df2315140da91b0805489 /lib/std/Thread.zig | |
| parent | 4e918873e7667e8d74b009cb34cbdd4df3305462 (diff) | |
| download | zig-ee1a95b555464d5a309992b06e02efd07770026c.tar.gz zig-ee1a95b555464d5a309992b06e02efd07770026c.zip | |
fix semantic error with std.os.linux.all_mask
all_mask is a value of type sigset_t, which is defined as an array type
[N]u32. However, all_mask references sigset_t.len, but, the array type
does not have a len field. Fix is to use @typeInfo(sigset_t).Array.len
instead.
Diffstat (limited to 'lib/std/Thread.zig')
0 files changed, 0 insertions, 0 deletions
