diff options
author | Pablo Neira Ayuso <pablo@gnumonks.org> | 2014-04-25 14:59:14 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@gnumonks.org> | 2014-04-25 15:02:08 +0200 |
commit | e71cdedcfb150ae58bc848fde4a0cc46413e741a (patch) | |
tree | bf1119bd5a1dc17aa1050d6c6493b0f33208d72c /include/osmocom/netif | |
parent | a040773d577594de1fe20ec004e829d49c59edcd (diff) |
amr: make sure the header is packed
Diffstat (limited to 'include/osmocom/netif')
-rw-r--r-- | include/osmocom/netif/amr.h | 2 |
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) { |