From d1abbeacfb5a099418f53b583625ac97b1c62059 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Mon, 6 Jul 2009 19:07:01 +0200 Subject: Fixes memory alignment problems on Sparc64. Not quite standard construction, i should add some autoconf macro. Not tested yet. --- lib/mempool.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/mempool.c') diff --git a/lib/mempool.c b/lib/mempool.c index bb6dcff3..e6f277b9 100644 --- a/lib/mempool.c +++ b/lib/mempool.c @@ -27,6 +27,7 @@ struct lp_chunk { struct lp_chunk *next; unsigned int size; + uintptr_t data_align[0]; byte data[0]; }; -- cgit v1.2.3