# fix casting a function to a pointer causing compiler crash · gitcafe/zig

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

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

Visibility: public

Requested revision: 7f7823e23cfd82739401f43a329106bee0748b10

Requested commit: 7f7823e23cfd82739401f43a329106bee0748b10

Commit: 7f7823e23cfd82739401f43a329106bee0748b10

Tree: eb8382e8e704f72f33494a20879d303b53d5db04

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix casting a function to a pointer causing compiler crash

closes #777

```

## Parents

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

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