summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pa-hbbackup.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-pa-hbbackup.c')
-rw-r--r--epan/dissectors/packet-pa-hbbackup.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/epan/dissectors/packet-pa-hbbackup.c b/epan/dissectors/packet-pa-hbbackup.c
index b51bca5f..63726437 100644
--- a/epan/dissectors/packet-pa-hbbackup.c
+++ b/epan/dissectors/packet-pa-hbbackup.c
@@ -28,12 +28,12 @@ void proto_register_hbbak(void);
#define HBBAK_SIZE 8
-static int proto_hbbak = -1;
-static int hf_hbbak_unknown1 = -1;
-static int hf_hbbak_etype_outer = -1;
-static int hf_hbbak_trailer = -1;
+static int proto_hbbak;
+static int hf_hbbak_unknown1;
+static int hf_hbbak_etype_outer;
+static int hf_hbbak_trailer;
-static gint ett_hbbak = -1;
+static int ett_hbbak;
static dissector_handle_t hbbak_handle;
static dissector_handle_t ethertype_handle;
@@ -43,7 +43,7 @@ dissect_hbbak(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U
{
proto_tree *ti, *hbbak_tree;
int offset = 0;
- guint16 eth_type_outer;
+ uint16_t eth_type_outer;
ethertype_data_t ethertype_data;
col_set_str(pinfo->cinfo, COL_PROTOCOL, PROTO_SHORT_NAME);
@@ -89,7 +89,7 @@ proto_register_hbbak(void)
};
- static gint *ett[] = {
+ static int *ett[] = {
&ett_hbbak,
};