FS-8623: fix sun studio error trying to compile char[] with c++ compiler

This commit is contained in:
Michael Jerris 2016-04-07 15:11:42 -04:00
parent 6ad1a2933e
commit 29263bf7b9
2 changed files with 5 additions and 8 deletions

View File

@ -948,13 +948,6 @@ typedef struct {
#pragma pack(push, r1, 1)
#endif
typedef struct switch_rtcp_sdes_unit_s {
unsigned char type;
unsigned char length;
char value[];
} switch_rtcp_sdes_unit_t;
#if SWITCH_BYTE_ORDER == __BIG_ENDIAN
typedef struct switch_rtcp_hdr_s {
unsigned version:2; /* protocol version */

View File

@ -129,7 +129,11 @@ typedef struct {
#pragma pack(push, r1, 1)
#endif
typedef struct switch_rtcp_sdes_unit_s {
unsigned char type;
unsigned char length;
char value[];
} switch_rtcp_sdes_unit_t;
typedef struct {
uint32_t ssrc;