# Fix unsafe cast in translate_c · gitcafe/zig

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

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

Visibility: public

Requested revision: 34ae1d9aa8aa7b5ad7371a7df3e3ffa5a54df1d4

Requested commit: 34ae1d9aa8aa7b5ad7371a7df3e3ffa5a54df1d4

Commit: 34ae1d9aa8aa7b5ad7371a7df3e3ffa5a54df1d4

Tree: 6628ad9e0286f050a87ba30a9f88c87e9d68db29

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
Fix unsafe cast in translate_c

* Handle EmptyDecls to clean up the generated code

Closes #4143

```

## Parents

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

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