From 45da9c9f296215a4d9ff77db0e6d48bda105ddee Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 10 Mar 2014 18:04:14 +0100 Subject: Remove aligned data_t type again --- src/resolve.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resolve.c') diff --git a/src/resolve.c b/src/resolve.c index 9eec349..4ac102b 100644 --- a/src/resolve.c +++ b/src/resolve.c @@ -69,7 +69,7 @@ static void* resolve_peer(void *varg) { n_addr++; } - data_t retbuf[sizeof(fastd_resolve_return_t) + n_addr*sizeof(fastd_peer_address_t)]; + uint8_t retbuf[sizeof(fastd_resolve_return_t) + n_addr*sizeof(fastd_peer_address_t)] __attribute__((aligned(8))); fastd_resolve_return_t *ret = (fastd_resolve_return_t*)retbuf; ret->remote = arg->remote; -- cgit v1.2.3