summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-vicp.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:33 +0000
commit9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9 (patch)
tree2784370cda9bbf2da9114d70f05399c0b229d28c /epan/dissectors/packet-vicp.c
parentAdding debian version 4.2.6-1. (diff)
downloadwireshark-9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9.tar.xz
wireshark-9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9.zip
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-vicp.c')
-rw-r--r--epan/dissectors/packet-vicp.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/epan/dissectors/packet-vicp.c b/epan/dissectors/packet-vicp.c
index 001a5d74..7440baeb 100644
--- a/epan/dissectors/packet-vicp.c
+++ b/epan/dissectors/packet-vicp.c
@@ -17,14 +17,14 @@
#include <epan/ptvcursor.h>
/* registration object IDs */
-static int proto_vicp = -1;
-static int hf_vicp_operation = -1;
-static int hf_vicp_version = -1;
-static int hf_vicp_sequence = -1;
-static int hf_vicp_unused = -1;
-static int hf_vicp_length = -1;
-static int hf_vicp_data = -1;
-static gint ett_vicp = -1;
+static int proto_vicp;
+static int hf_vicp_operation;
+static int hf_vicp_version;
+static int hf_vicp_sequence;
+static int hf_vicp_unused;
+static int hf_vicp_length;
+static int hf_vicp_data;
+static int ett_vicp;
#define VICP_PORT 1861
@@ -39,7 +39,7 @@ static int dissect_vicp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, voi
proto_tree *vicp_tree;
ptvcursor_t* cursor;
- guint len;
+ unsigned len;
if (tvb_reported_length_remaining(tvb, 0) < 8)
{
@@ -93,7 +93,7 @@ void proto_register_vicp(void)
}
};
- static gint *ett[] =
+ static int *ett[] =
{ &ett_vicp
};