aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2014-04-25 14:59:14 +0200
committerPablo Neira Ayuso <pablo@gnumonks.org>2014-04-25 15:02:08 +0200
commite71cdedcfb150ae58bc848fde4a0cc46413e741a (patch)
treebf1119bd5a1dc17aa1050d6c6493b0f33208d72c
parenta040773d577594de1fe20ec004e829d49c59edcd (diff)
amr: make sure the header is packed
-rw-r--r--include/osmocom/netif/amr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/netif/amr.h b/include/osmocom/netif/amr.h
index 863915e..60dacf6 100644
--- a/include/osmocom/netif/amr.h
+++ b/include/osmocom/netif/amr.h
@@ -60,7 +60,7 @@ struct amr_hdr {
ft:4,
f:1;
#endif
-};
+} __attribute__((packed));
static inline void *osmo_amr_get_payload(struct amr_hdr *amrh)
{