summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/asn1/pkix1explicit/packet-pkix1explicit-template.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/asn1/pkix1explicit/packet-pkix1explicit-template.c')
-rw-r--r--epan/dissectors/asn1/pkix1explicit/packet-pkix1explicit-template.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/epan/dissectors/asn1/pkix1explicit/packet-pkix1explicit-template.c b/epan/dissectors/asn1/pkix1explicit/packet-pkix1explicit-template.c
index 4de46292..ee06c6bc 100644
--- a/epan/dissectors/asn1/pkix1explicit/packet-pkix1explicit-template.c
+++ b/epan/dissectors/asn1/pkix1explicit/packet-pkix1explicit-template.c
@@ -16,6 +16,7 @@
#include <epan/asn1.h>
#include <epan/oids.h>
#include <epan/afn.h>
+#include <wsutil/array.h>
#include "packet-ber.h"
#include "packet-pkix1explicit.h"
@@ -34,12 +35,12 @@ void proto_register_pkix1explicit(void);
void proto_reg_handoff_pkix1explicit(void);
/* Initialize the protocol and registered fields */
-static int proto_pkix1explicit = -1;
-static int hf_pkix1explicit_object_identifier_id = -1;
-static int hf_pkix1explicit_addressFamily_afn = -1;
-static int hf_pkix1explicit_addressFamily_safi = -1;
+static int proto_pkix1explicit;
+static int hf_pkix1explicit_object_identifier_id;
+static int hf_pkix1explicit_addressFamily_afn;
+static int hf_pkix1explicit_addressFamily_safi;
-static int ett_pkix1explicit_addressFamily = -1;
+static int ett_pkix1explicit_addressFamily;
#include "packet-pkix1explicit-hf.c"
@@ -108,7 +109,7 @@ void proto_register_pkix1explicit(void) {
};
/* List of subtrees */
- static gint *ett[] = {
+ static int *ett[] = {
&ett_pkix1explicit_addressFamily,
#include "packet-pkix1explicit-ettarr.c"
};