While trying to make a version of Cubyz that works with zig 0.17.0 (master) I got very weird graphical artifacts and could track it down to this reproduce:
The compiler bug here is that this code shouldn’t compile! Vectors are allowed to have weird non-byte-aligned layouts, so pointers to their elements have special types which aren’t meant to be compatible with normal pointer types, such as your [*c]c_int. Would you mind opening an issue on the Zig repository? EDIT: actually, I just filed it myself, as #36378.
By the way, never use [*c]T types in your own code! C pointer types exist only to be generated by translate-c. When writing code manually, it can and should always be replaced with a more specific pointer type, usually either *T or [*]T.