--- audio/control.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/audio/control.c b/audio/control.c index c3ef737..1ec736f 100644 --- a/audio/control.c +++ b/audio/control.c @@ -134,7 +134,7 @@ struct avrcp_spec_avc_pdu { uint8_t packet_type:2; uint8_t rsvd:6; uint16_t params_len; - uint8_t params[0]; + uint8_t params[]; } __attribute__ ((packed)); #define AVRCP_SPECAVCPDU_HEADER_LENGTH 7 @@ -164,7 +164,7 @@ struct avrcp_spec_avc_pdu { uint8_t rsvd:6; uint8_t packet_type:2; uint16_t params_len; - uint8_t params[0]; + uint8_t params[]; } __attribute__ ((packed)); #define AVRCP_SPECAVCPDU_HEADER_LENGTH 7 -- 1.7.6 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html