mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-12 01:14:17 +00:00
force various sdp_query_.. structs to be word aligned
This commit is contained in:
parent
92df4ba8f7
commit
9283999a68
@ -81,6 +81,7 @@ typedef struct sdp_query_event {
|
||||
typedef struct sdp_query_complete_event {
|
||||
uint8_t type;
|
||||
uint8_t status; // 0 == OK
|
||||
void * dummy; // force sdp_query_complete_event struct to be word aligned -> avoid -Wcast-align warning
|
||||
} sdp_query_complete_event_t;
|
||||
|
||||
// SDP Parser event to deliver an attribute value byte by byte
|
||||
@ -91,6 +92,7 @@ typedef struct sdp_query_attribute_value_event {
|
||||
uint32_t attribute_length;
|
||||
int data_offset;
|
||||
uint8_t data;
|
||||
void * dummy; // force sdp_query_attribute_value_event struct to be word aligned -> avoid -Wcast-align warning
|
||||
} sdp_query_attribute_value_event_t;
|
||||
|
||||
|
||||
@ -100,6 +102,7 @@ typedef struct sdp_query_service_record_handle_event {
|
||||
uint16_t total_count;
|
||||
uint16_t current_count;
|
||||
uint32_t record_handle;
|
||||
void * dummy; // force sdp_query_service_record_handle_event struct to be word aligned -> avoid -Wcast-align warning
|
||||
} sdp_query_service_record_handle_event_t;
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user