summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gluster_pmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-gluster_pmap.c')
-rw-r--r--epan/dissectors/packet-gluster_pmap.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/epan/dissectors/packet-gluster_pmap.c b/epan/dissectors/packet-gluster_pmap.c
index 1dde06dd..285e6534 100644
--- a/epan/dissectors/packet-gluster_pmap.c
+++ b/epan/dissectors/packet-gluster_pmap.c
@@ -32,26 +32,26 @@ void proto_register_gluster_dump(void);
void proto_reg_handoff_gluster_dump(void);
/* Initialize the protocol and registered fields */
-static gint proto_gluster_pmap = -1;
-static gint proto_gluster_dump = -1;
+static int proto_gluster_pmap;
+static int proto_gluster_dump;
/* programs and procedures */
-static gint hf_gluster_pmap_proc = -1;
-static gint hf_gluster_dump_proc = -1;
+static int hf_gluster_pmap_proc;
+static int hf_gluster_dump_proc;
/* fields used by multiple programs/procedures */
-static gint hf_gluster_brick = -1;
-static gint hf_gluster_brick_status = -1;
-static gint hf_gluster_brick_port = -1;
-static gint hf_gluster_gfsid = -1;
-static gint hf_gluster_progname = -1;
-static gint hf_gluster_prognum = -1;
-static gint hf_gluster_progver = -1;
+static int hf_gluster_brick;
+static int hf_gluster_brick_status;
+static int hf_gluster_brick_port;
+static int hf_gluster_gfsid;
+static int hf_gluster_progname;
+static int hf_gluster_prognum;
+static int hf_gluster_progver;
/* Initialize the subtree pointers */
-static gint ett_gluster_pmap = -1;
-static gint ett_gluster_dump = -1;
-static gint ett_gluster_dump_detail = -1;
+static int ett_gluster_pmap;
+static int ett_gluster_dump;
+static int ett_gluster_dump_detail;
/* PMAP PORTBYBRICK */
static int
@@ -83,7 +83,7 @@ gluster_dump_reply_detail(tvbuff_t *tvb, int offset, packet_info *pinfo _U_,
{
proto_item *detail_item;
proto_tree *detail_tree;
- const gchar *progname = NULL;
+ const char *progname = NULL;
detail_tree = proto_tree_add_subtree(tree, tvb, offset, -1,
ett_gluster_dump_detail, &detail_item, "Available Program: ");
@@ -196,7 +196,7 @@ proto_register_gluster_pmap(void)
};
/* Setup protocol subtree array */
- static gint *ett[] = {
+ static int *ett[] = {
&ett_gluster_pmap
};
@@ -243,7 +243,7 @@ proto_register_gluster_dump(void)
};
/* Setup protocol subtree array */
- static gint *ett[] = {
+ static int *ett[] = {
&ett_gluster_dump,
&ett_gluster_dump_detail
};