summaryrefslogtreecommitdiffstats
path: root/src/resolve.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-03-10 18:04:14 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-03-10 18:04:14 +0100
commit45da9c9f296215a4d9ff77db0e6d48bda105ddee (patch)
treecdf816d309a228d7f3f47370b9f6776b514816d1 /src/resolve.c
parent519972c9c18a103a7689844150c75e939c642115 (diff)
downloadfastd-45da9c9f296215a4d9ff77db0e6d48bda105ddee.tar
fastd-45da9c9f296215a4d9ff77db0e6d48bda105ddee.zip
Remove aligned data_t type again
Diffstat (limited to 'src/resolve.c')
-rw-r--r--src/resolve.c2
1 files changed, 1 insertions, 1 deletions
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;