# fix translate-c incorrectly translating negative enum init values · gitcafe/zig

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

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

Visibility: public

Requested revision: 004c383292412faef7987b5fb5da73a2971176ee

Requested commit: 004c383292412faef7987b5fb5da73a2971176ee

Commit: 004c383292412faef7987b5fb5da73a2971176ee

Tree: 62f03d78b28a73fd12d7f81a4907455ac3acdea3

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix translate-c incorrectly translating negative enum init values

closes #1360

```

## Parents

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

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