# stage1: Prevent the creation of illegal pointer types · gitcafe/zig

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

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

Visibility: public

Requested revision: b5e72c0148e40df418bdc8e1770b1bd42e76732e

Requested commit: b5e72c0148e40df418bdc8e1770b1bd42e76732e

Commit: b5e72c0148e40df418bdc8e1770b1bd42e76732e

Tree: 69c741c4fcc2bef40e7b6031ae6eea25b67588db

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
stage1: Prevent the creation of illegal pointer types

Changing the pointer length from Unknown to Single/C now resets the
sentinel value too.

Closes #5134

```

## Parents

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

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