force rfcomm_channel_event to be 2-byte aligned -> avoid -Wcast-align warning

This commit is contained in:
Matthias Ringwald 2015-11-07 17:01:35 +01:00
parent 50ee9b77d7
commit e13fc2ba62

View File

@ -209,6 +209,7 @@ typedef enum {
typedef struct rfcomm_channel_event {
RFCOMM_CHANNEL_EVENT type;
uint16_t dummy; // force rfcomm_channel_event to be 2-byte aligned -> avoid -Wcast-align warning
} rfcomm_channel_event_t;
typedef struct rfcomm_channel_event_pn {