From a86c5f7cae7ec9a3398300555a0b644689d946a1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 19 Sep 2024 06:14:53 +0200 Subject: Merging upstream version 4.4.0. Signed-off-by: Daniel Baumann --- epan/dissectors/packet-sipfrag.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'epan/dissectors/packet-sipfrag.c') diff --git a/epan/dissectors/packet-sipfrag.c b/epan/dissectors/packet-sipfrag.c index 2e5f3918..5a82e9f0 100644 --- a/epan/dissectors/packet-sipfrag.c +++ b/epan/dissectors/packet-sipfrag.c @@ -21,11 +21,11 @@ void proto_register_sipfrag(void); /* Initialize the protocol and registered fields. */ -static int proto_sipfrag = -1; -static int hf_sipfrag_line = -1; +static int proto_sipfrag; +static int hf_sipfrag_line; /* Protocol subtree. */ -static int ett_sipfrag = -1; +static int ett_sipfrag; void proto_reg_handoff_sipfrag(void); @@ -36,11 +36,11 @@ static int dissect_sipfrag(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, { proto_tree *sipfrag_tree; proto_item *ti; - gint offset = 0; - gint next_offset; + int offset = 0; + int next_offset; int linelen; char *string; - gint lines = 0; + int lines = 0; /* Append this protocol name rather than replace. */ col_append_str(pinfo->cinfo, COL_PROTOCOL, "/sipfrag"); @@ -93,7 +93,7 @@ void proto_register_sipfrag(void) }, }; - static gint *ett[] = + static int *ett[] = { &ett_sipfrag }; -- cgit v1.2.3