# use @ptrCast to assigned generic type to default_value · gitcafe/zig

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

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

Visibility: public

Requested revision: e915b905e0d5e397cc298abee1c34cda357bb573

Requested commit: e915b905e0d5e397cc298abee1c34cda357bb573

Commit: e915b905e0d5e397cc298abee1c34cda357bb573

Tree: 1f5ba7f99416aaa0958231c6f428a109f9fe5836

Author: Jacob Young

Committer: Veikka Tuominen

## Message

```
use @ptrCast to assigned generic type to default_value

If the type happens to be a pointer, then the double pointer will not
coerce implicitly.

```

## Parents

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

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