diff options
| author | Evan Haas <evan@lagerdata.com> | 2021-01-13 16:57:06 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-01-15 12:35:54 -0800 |
| commit | 1702b413f74d80fedd8803d60a69461b1e0b5b51 (patch) | |
| tree | 58234c8778ae7cf26c9eedbf23078ff52485f4ef /lib/std/Thread/StaticResetEvent.zig | |
| parent | 35686262f503372bb9f38a71b891fd19b30adecd (diff) | |
| download | zig-1702b413f74d80fedd8803d60a69461b1e0b5b51.tar.gz zig-1702b413f74d80fedd8803d60a69461b1e0b5b51.zip | |
translate-c: ensure bools are cast to int when necessary
Fixes two scenarios where @boolToInt() calls were missing:
1. Boolean expression cast to different-size int (char, long, etc)
2. Boolean expression used as parameter for function with int argument
Diffstat (limited to 'lib/std/Thread/StaticResetEvent.zig')
0 files changed, 0 insertions, 0 deletions
