From c4e8a3222648fcf22ca207f1815ebbf7cd144eeb Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 19 Sep 2024 06:14:26 +0200 Subject: Adding upstream version 4.4.0. Signed-off-by: Daniel Baumann --- epan/dissectors/packet-klm.c | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'epan/dissectors/packet-klm.c') 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, -- cgit v1.2.3