force sdp_query_event struct to be word aligned -> avoid -Wcast-align warning

This commit is contained in:
Matthias Ringwald 2015-11-07 08:54:57 +01:00
parent e7057cf0c6
commit d640d004c6

View File

@ -74,6 +74,7 @@ int de_state_size(uint8_t eventByte, de_state_t *de_state);
// Basic SDP Query event type
typedef struct sdp_query_event {
uint8_t type;
void * dummy; // force sdp_query_event struct to be word aligned -> avoid -Wcast-align warning
} sdp_query_event_t;
// SDP Query event to indicate that query/parser is complete.