FS-8623: fix sun studio error trying to compile char[] with c++ compiler
This commit is contained in:
parent
6ad1a2933e
commit
29263bf7b9
|
@ -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 */
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue