diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-03-15 10:55:10 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-03-17 10:33:09 +1000 |
commit | 2d638fc37b0dbf28e5c826f74f68ada83a8c3e2b (patch) | |
tree | ba794c602096532af9a6010ae22cdaa6195dd0ff /configure.ac | |
parent | 477f922fb07eea629f16c55b0a022e836ede6d41 (diff) |
Force alignment with sizeof(Atom) for XIButtonClassInfo
The memory layout of an XIButtonClassInfo is
[struct XIButtonClassInfo][mask][labels]
With the mask being currently 4-byte aligned and labels a list of Atoms. On
LP64, Atoms are 8 byte, leading to unaligned access for some mask lengths.
Force the alignment to be sizeof(Atom).
Reported-by: Christian Weisgerber <naddy@mips.inka.de>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Christian Weisgerber <naddy@mips.inka.de>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions