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

This commit is contained in:
Michael Jerris committed 2016-04-07 15:11:42 -04:00
1 parent 6ad1a2933e
commit 29263bf7b9
2 files changed
+5 -8

No files matched your search

-7
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 */
+5 -1
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;