aboutsummaryrefslogtreecommitdiff
path: root/src/analyze.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-09-11 12:57:53 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-09-11 12:59:39 -0400
commitdd1338b0e6280b10b9b62ca73bf9ece34bd8524e (patch)
treee9745fe1b7a469cf8859b820c7a73715d76832d1 /src/analyze.cpp
parentc4f96ea745ae2aa56ec5cb2c871e5b3d86b04c8f (diff)
downloadzig-dd1338b0e6280b10b9b62ca73bf9ece34bd8524e.tar.gz
zig-dd1338b0e6280b10b9b62ca73bf9ece34bd8524e.zip
fix incorrect union const value generation
closes #1381 The union was generated as a 3 byte struct when it needed to be 4 bytes so that the packed struct bitcast could work correctly. Now it recognizes this situation and adds padding bytes to become the correct size so that it can fit into an array.
Diffstat (limited to 'src/analyze.cpp')
0 files changed, 0 insertions, 0 deletions