b718e5ab1f
ok pvalchev@
15 lines
483 B
Plaintext
15 lines
483 B
Plaintext
$OpenBSD: patch-m_config_h,v 1.1 2004/10/18 06:48:20 biorn Exp $
|
|
--- m_config.h.orig Wed Aug 13 18:29:00 2003
|
|
+++ m_config.h Fri Sep 17 23:13:31 2004
|
|
@@ -9,7 +9,9 @@ struct m_option_type;
|
|
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 {
|