diff options
| author | Philip Ã…kesson <philip.akesson@gmail.com> | 2021-08-24 21:34:43 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-08-31 22:03:54 -0400 |
| commit | 4f0aa7d639e099b18df583cb984412037fbb1dbe (patch) | |
| tree | 1ef3e04948909487d22bce82d65d96d362ec4001 /test/compile_errors.zig | |
| parent | 3b9ec4e4df634b17268034a6a5527c11cf67e54b (diff) | |
| download | zig-4f0aa7d639e099b18df583cb984412037fbb1dbe.tar.gz zig-4f0aa7d639e099b18df583cb984412037fbb1dbe.zip | |
std: Use truncating cast in WIFSTOPPED for Linux, FreeBSD and DragonFly
The intermediate value can be larger than an u16, so @truncate is needed
to match the behavior of musl.
Diffstat (limited to 'test/compile_errors.zig')
0 files changed, 0 insertions, 0 deletions
