summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-klm.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:26 +0000
commitc4e8a3222648fcf22ca207f1815ebbf7cd144eeb (patch)
tree93d5c6aa93d9987680dd1adad5685e2ad698f223 /epan/dissectors/packet-klm.c
parentAdding upstream version 4.2.6. (diff)
downloadwireshark-upstream.tar.xz
wireshark-upstream.zip
Adding upstream version 4.4.0.upstream/4.4.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-klm.c')
-rw-r--r--epan/dissectors/packet-klm.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/epan/dissectors/packet-klm.c b/epan/dissectors/packet-klm.c
index 5d15bfd1..9f0d44a4 100644
--- a/epan/dissectors/packet-klm.c
+++ b/epan/dissectors/packet-klm.c
@@ -15,21 +15,21 @@
void proto_register_klm(void);
void proto_reg_handoff_klm(void);
-static int proto_klm = -1;
-static int hf_klm_procedure_v1 = -1;
-static int hf_klm_exclusive = -1;
-static int hf_klm_lock = -1;
-static int hf_klm_servername = -1;
-static int hf_klm_pid = -1;
-static int hf_klm_offset = -1;
-static int hf_klm_len = -1;
-static int hf_klm_stats = -1;
-static int hf_klm_holder = -1;
-static int hf_klm_block = -1;
-
-static gint ett_klm = -1;
-static gint ett_klm_lock = -1;
-static gint ett_klm_holder = -1;
+static int proto_klm;
+static int hf_klm_procedure_v1;
+static int hf_klm_exclusive;
+static int hf_klm_lock;
+static int hf_klm_servername;
+static int hf_klm_pid;
+static int hf_klm_offset;
+static int hf_klm_len;
+static int hf_klm_stats;
+static int hf_klm_holder;
+static int hf_klm_block;
+
+static int ett_klm;
+static int ett_klm_lock;
+static int ett_klm_holder;
#define KLMPROC_TEST 1
#define KLMPROC_LOCK 2
@@ -135,7 +135,7 @@ dissect_klm_lock_call(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void*
static int
dissect_klm_test_reply(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void* data _U_)
{
- gint32 stats;
+ int32_t stats;
int offset = 0;
stats = tvb_get_ntohl(tvb, offset);
@@ -234,7 +234,7 @@ proto_register_klm(void)
};
- static gint *ett[] = {
+ static int *ett[] = {
&ett_klm,
&ett_klm_lock,
&ett_klm_holder,