summaryrefslogtreecommitdiffstats
path: root/src/receive.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/receive.c
parent519972c9c18a103a7689844150c75e939c642115 (diff)
downloadfastd-45da9c9f296215a4d9ff77db0e6d48bda105ddee.tar
fastd-45da9c9f296215a4d9ff77db0e6d48bda105ddee.zip
Remove aligned data_t type again
Diffstat (limited to 'src/receive.c')
-rw-r--r--src/receive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/receive.c b/src/receive.c
index ecc4459..b2e4469 100644
--- a/src/receive.c
+++ b/src/receive.c
@@ -187,7 +187,7 @@ void fastd_receive(fastd_context_t *ctx, fastd_socket_t *sock) {
fastd_peer_address_t local_addr;
fastd_peer_address_t recvaddr;
struct iovec buffer_vec = { .iov_base = buffer.data, .iov_len = buffer.len };
- data_t cbuf[1024];
+ uint8_t cbuf[1024] __attribute__((aligned(8)));
struct msghdr message = {
.msg_name = &recvaddr,