# fix implicit cast error unions with non-optional to optional pointer · gitcafe/zig

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

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

Visibility: public

Requested revision: 6769183a9d5f5ec69747f46d4d13c0f8709b2f46

Requested commit: 6769183a9d5f5ec69747f46d4d13c0f8709b2f46

Commit: 6769183a9d5f5ec69747f46d4d13c0f8709b2f46

Tree: 273a352de8765f10482336d510a995543ee3d259

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix implicit cast error unions with non-optional to optional pointer

and update self hosted compiler for C pointers

See #1059

```

## Parents

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

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