aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2005-08-24 20:34:15 +0000
committerGerald Combs <gerald@wireshark.org>2005-08-24 20:34:15 +0000
commitef81f7d060f39b43cc8eadf86c8e965a3e820225 (patch)
tree9233d33c1028671a137d281e7bea4357f744931e
parent4b0b7448fda25096f768a3d06422bbf233e2ef30 (diff)
Properly initialize our hf_ arrays. Make hf_rtcp_app_poc1_conn_session_type
an FT_UINT8 instead of an FT_BOOLEAN. This keeps the Solaris builder from crashing while running "-G values". svn path=/trunk/; revision=15519
-rw-r--r--epan/dissectors/packet-rtcp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-rtcp.c b/epan/dissectors/packet-rtcp.c
index 137423041c..4e7eb9364f 100644
--- a/epan/dissectors/packet-rtcp.c
+++ b/epan/dissectors/packet-rtcp.c
@@ -294,10 +294,10 @@ static int hf_rtcp_app_poc1_ack_subtype = -1;
static int hf_rtcp_app_poc1_ack_reason_code = -1;
static int hf_rtcp_app_poc1_qsresp_priority = -1;
static int hf_rtcp_app_poc1_qsresp_position = -1;
-static int hf_rtcp_app_poc1_conn_content_1st_byte[5] = { -1, };
+static int hf_rtcp_app_poc1_conn_content_1st_byte[5] = { -1, -1, -1, -1, -1 };
static int hf_rtcp_app_poc1_conn_session_type = -1;
static int hf_rtcp_app_poc1_conn_add_ind_mao = -1;
-static int hf_rtcp_app_poc1_conn_sdes_items[5] = { -1, };
+static int hf_rtcp_app_poc1_conn_sdes_items[5] = { -1, -1, -1, -1, -1 };
static int hf_rtcp_xr_block_type = -1;
static int hf_rtcp_xr_block_specific = -1;
static int hf_rtcp_xr_block_length = -1;
@@ -2494,8 +2494,8 @@ proto_register_rtcp(void)
{
"Session type",
"rtcp.app.poc1.conn.session.type",
- FT_BOOLEAN,
- 8,
+ FT_UINT8,
+ BASE_DEC,
VALS(rtcp_app_poc1_conn_sess_type_vals),
0x0,
"", HFILL