aboutsummaryrefslogtreecommitdiff
path: root/test/compile_errors.zig
diff options
context:
space:
mode:
authorPhilip Ã…kesson <philip.akesson@gmail.com>2021-08-24 21:34:43 +0200
committerAndrew Kelley <andrew@ziglang.org>2021-08-31 22:03:54 -0400
commit4f0aa7d639e099b18df583cb984412037fbb1dbe (patch)
tree1ef3e04948909487d22bce82d65d96d362ec4001 /test/compile_errors.zig
parent3b9ec4e4df634b17268034a6a5527c11cf67e54b (diff)
downloadzig-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