summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/asn1/crmf/packet-crmf-template.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/asn1/crmf/packet-crmf-template.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 'epan/dissectors/asn1/crmf/packet-crmf-template.c')
-rw-r--r--epan/dissectors/asn1/crmf/packet-crmf-template.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/epan/dissectors/asn1/crmf/packet-crmf-template.c b/epan/dissectors/asn1/crmf/packet-crmf-template.c
index 682f8bd1..7d3dbef2 100644
--- a/epan/dissectors/asn1/crmf/packet-crmf-template.c
+++ b/epan/dissectors/asn1/crmf/packet-crmf-template.c
@@ -14,6 +14,7 @@
#include <epan/packet.h>
#include <epan/oids.h>
#include <epan/asn1.h>
+#include <wsutil/array.h>
#include "packet-ber.h"
#include "packet-crmf.h"
@@ -29,8 +30,8 @@ void proto_register_crmf(void);
void proto_reg_handoff_crmf(void);
/* Initialize the protocol and registered fields */
-static int proto_crmf = -1;
-static int hf_crmf_type_oid = -1;
+static int proto_crmf;
+static int hf_crmf_type_oid;
#include "packet-crmf-hf.c"
/* Initialize the subtree pointers */
@@ -51,7 +52,7 @@ void proto_register_crmf(void) {
};
/* List of subtrees */
- static gint *ett[] = {
+ static int *ett[] = {
#include "packet-crmf-ettarr.c"
};