summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pw-common.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:53 +0000
commita86c5f7cae7ec9a3398300555a0b644689d946a1 (patch)
tree39fe4b107c71174fd1e8a8ceb9a4d2aa14116248 /epan/dissectors/packet-pw-common.c
parentReleasing progress-linux version 4.2.6-1~progress7.99u1. (diff)
downloadwireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.tar.xz
wireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.zip
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--epan/dissectors/packet-pw-common.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-pw-common.c b/epan/dissectors/packet-pw-common.c
index a8a855d2..2ce5880b 100644
--- a/epan/dissectors/packet-pw-common.c
+++ b/epan/dissectors/packet-pw-common.c
@@ -44,7 +44,7 @@ pwc_vals_cw_frag[] = {
};
-void pwc_item_append_cw(proto_item* item, const guint32 cw, const gboolean append_text)
+void pwc_item_append_cw(proto_item* item, const uint32_t cw, const bool append_text)
{
if (item != NULL)
{
@@ -71,14 +71,14 @@ void pwc_item_append_text_n_items(proto_item* item, const int n, const char * co
}
-static gint proto_pw_padding = -1;
-static gint ett_pw_common = -1;
-static int hf_padding_len = -1;
+static int proto_pw_padding;
+static int ett_pw_common;
+static int hf_padding_len;
static
int dissect_pw_padding(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void* data _U_)
{
- gint size;
+ int size;
proto_item* item;
proto_tree* tree_p;
size = tvb_reported_length_remaining(tvb, 0);
@@ -100,7 +100,7 @@ void proto_register_pw_padding(void)
,FT_INT32 ,BASE_DEC ,NULL ,0
,NULL ,HFILL }}
};
- static gint *ett_array[] = {
+ static int *ett_array[] = {
&ett_pw_common
};
proto_pw_padding = proto_register_protocol("Pseudowire Padding","PW Padding","pw.padding");