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

translate-c: Explicitly cast decayed array to pointer with @ptrCast

This enables translation of code that uses pointer arithmetic with arrays
This commit is contained in:
Evan Haas 2021-03-05 12:09:57 -08:00 • committed by Veikka Tuominen
commit d01bb21173
2 changed files with 8 additions and 3 deletions