Mercurial > mplayer.hg
changeset 13246:5dea9e3618ba
alignment for SPARC64, second try
author | reimar |
---|---|
date | Sat, 04 Sep 2004 15:34:20 +0000 |
parents | 35a69552ea80 |
children | 933b45ad31d5 |
files | m_config.h |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/m_config.h Sat Sep 04 10:22:38 2004 +0000 +++ b/m_config.h Sat Sep 04 15:34:20 2004 +0000 @@ -9,7 +9,9 @@ struct m_config_save_slot { m_config_save_slot_t* prev; int lvl; - unsigned char data[0]; + // we have to store other datatypes in this as well, + // so make sure we get properly aligned addresses + unsigned char data[0] __attribute__ ((aligned (8))); }; struct m_config_option {