diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2008-05-25 15:28:30 +0100 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2008-05-25 15:54:40 +0100 |
commit | 359058e7b77ddbac5eec7e8d1c77232bcbb1adbf (patch) | |
tree | 5beed2bafc5bef63ed7ab8791ea9fe16b500a34a /progs/tests/bug_3050.c | |
parent | eab4472ee6e948da30e6dd0b6f784c926056fbd6 (diff) |
cso: use memcpy rather than structure asignment for copying
Apparently gcc will omit to copy hidden padding bytes under some circumstances,
which means later on memcmp() will indicate a difference between structs
even though all the visible members are identical.
Diffstat (limited to 'progs/tests/bug_3050.c')
0 files changed, 0 insertions, 0 deletions