diff options
Diffstat (limited to 'epan/dissectors/packet-hsr.c')
-rw-r--r-- | epan/dissectors/packet-hsr.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/epan/dissectors/packet-hsr.c b/epan/dissectors/packet-hsr.c index d52c7035..5aa6e984 100644 --- a/epan/dissectors/packet-hsr.c +++ b/epan/dissectors/packet-hsr.c @@ -43,21 +43,21 @@ static const value_string hsr_laneid_vals[] = { /* Initialize the protocol and registered fields */ /**********************************************************/ -static int proto_hsr = -1; +static int proto_hsr; /* Initialize supervision frame fields */ -static int hf_hsr_path = -1; -static int hf_hsr_netid = -1; -static int hf_hsr_laneid = -1; -static int hf_hsr_lsdu_size = -1; -static int hf_hsr_sequence_nr = -1; -static int hf_type= -1; +static int hf_hsr_path; +static int hf_hsr_netid; +static int hf_hsr_laneid; +static int hf_hsr_lsdu_size; +static int hf_hsr_sequence_nr; +static int hf_type; static dissector_table_t ethertype_subdissector_table; /* Initialize the subtree pointers */ -static gint ett_hsr_frame = -1; +static int ett_hsr_frame; /* Code to actually dissect the packets */ static int @@ -66,8 +66,8 @@ dissect_hsr_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* dat proto_item *ti; proto_tree *hsr_tree; tvbuff_t *next_tvb; - guint16 etype; - guint16 lsdu_size, lsdu_size_correct; + uint16_t etype; + uint16_t lsdu_size, lsdu_size_correct; col_set_str(pinfo->cinfo, COL_PROTOCOL, "HSR"); @@ -160,7 +160,7 @@ void proto_register_hsr(void) }; - static gint *ett[] = { + static int *ett[] = { &ett_hsr_frame, }; |