# Make sure that ZigTypeVector and ZigTypeArray have the same memory layout · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/d33766e6c7289b79256b2e50d0dc2344729ff710)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: d33766e6c7289b79256b2e50d0dc2344729ff710

Requested commit: d33766e6c7289b79256b2e50d0dc2344729ff710

Commit: d33766e6c7289b79256b2e50d0dc2344729ff710

Tree: 24da3981755618f82cfec5da88ebe5df791a708b

Author: Timon Kruiper

Committer: Timon Kruiper

## Message

```
Make sure that ZigTypeVector and ZigTypeArray have the same memory layout

Throughout the stage1 code it is assumed that these have the same layout,
but that was not the case. This caused an issue on 32-bit hardware.

```

## Parents

- [ae6965a4e73cd5aad04e1c6831f48e7f0ecafc04](https://git.cafe/gitcafe/zig/commit/ae6965a4e73cd5aad04e1c6831f48e7f0ecafc04?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/d33766e6c7289b79256b2e50d0dc2344729ff710?format=markdown)
