Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5a1dea7d authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Fix memory alignment issue

Flag: exempt, device specific issue
Test: compilation
Bug: 340616604
Change-Id: I016b4a95947a7bc801d1ddb69d91bab7f742f528
parent ae7aab59
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -94,7 +94,7 @@ typedef struct {
  std::array<uint8_t, MAX_DISC_RAW_DATA_BUF> g_disc_raw_data_buf;

  /* sdp_db must be together with sdp_db_buffer*/
  uint8_t sdp_db_buffer[BTA_DM_SDP_DB_SIZE];
  alignas(tSDP_DISCOVERY_DB) uint8_t sdp_db_buffer[BTA_DM_SDP_DB_SIZE];
} tBTA_DM_SDP_STATE;

typedef struct {