# fix incorrect error union const value generation · gitcafe/zig

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

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

Visibility: public

Requested revision: 7dd3c3814de0caf808bc112aa07044cdd8bba135

Requested commit: 7dd3c3814de0caf808bc112aa07044cdd8bba135

Commit: 7dd3c3814de0caf808bc112aa07044cdd8bba135

Tree: 3ed6db0680f013c496535d447261462129454975

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix incorrect error union const value generation

closes #1442

zig needed to insert explicit padding into this structure before
it got bitcasted.

```

## Parents

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

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