From 2645fb50b1fa739b4a3ffabb06ee3f62f3812e76 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Thu, 20 Sep 2018 12:29:46 +0200 Subject: [PATCH] add aligned attribute to liblte_bit_msg_struct to fix issues on ARM --- lib/include/srslte/asn1/liblte_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/include/srslte/asn1/liblte_common.h b/lib/include/srslte/asn1/liblte_common.h index 3b7eccf6f..b7587f340 100644 --- a/lib/include/srslte/asn1/liblte_common.h +++ b/lib/include/srslte/asn1/liblte_common.h @@ -102,7 +102,7 @@ typedef struct{ uint32 N_bits; uint8 header[LIBLTE_MSG_HEADER_OFFSET]; uint8 msg[LIBLTE_MAX_MSG_SIZE_BITS]; -}LIBLTE_BIT_MSG_STRUCT; +}LIBLTE_BIT_MSG_STRUCT __attribute__ ((aligned (8))); typedef struct{ uint32 N_bytes;