0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

Fix translation of signed array indices (#4113)

* cast only if the index is long long or signed
* cast long long to usize rather than c_uint

closes #4075
This commit is contained in:
travisstaloch 2020-01-09 21:08:24 -08:00 • committed by Andrew Kelley
commit 3f98756f85
3 changed files with 90 additions and 3 deletions