# add compile error for @ptrCast 0 bit type to non-0 bit type · gitcafe/zig

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

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

Visibility: public

Requested revision: b16229da1de90295b4d173f1a0ddbca677e8cdf2

Requested commit: b16229da1de90295b4d173f1a0ddbca677e8cdf2

Commit: b16229da1de90295b4d173f1a0ddbca677e8cdf2

Tree: ab8e9558ba662ab085eb35f3ec7365822db71cc4

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
add compile error for @ptrCast 0 bit type to non-0 bit type

```

## Parents

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

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