aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2014-02-03 11:02:43 +0100
committerStig Bjørlykke <stig@bjorlykke.org>2014-02-03 10:05:25 +0000
commit3ba10a7051e3fc6db0defaf769967439f93fe3ac (patch)
treef34bddbd257099229f5cef5c21d51c68382cdb52 /asn1
parent4cc694839d45d767f4880988da3b88389774b5db (diff)
Apply g4cc69483 to asn1 templates.
Change-Id: Id44ef17e7293be5d713c5e9e5d55b25194b46016 Reviewed-on: https://code.wireshark.org/review/86 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'asn1')
-rw-r--r--asn1/c1222/packet-c1222-template.c2
-rw-r--r--asn1/ess/packet-ess-template.c2
-rw-r--r--asn1/ldap/packet-ldap-template.c2
-rw-r--r--asn1/pres/packet-pres-template.c2
-rw-r--r--asn1/snmp/packet-snmp-template.c4
5 files changed, 6 insertions, 6 deletions
diff --git a/asn1/c1222/packet-c1222-template.c b/asn1/c1222/packet-c1222-template.c
index 38b6695738..9f62f34e70 100644
--- a/asn1/c1222/packet-c1222-template.c
+++ b/asn1/c1222/packet-c1222-template.c
@@ -1399,7 +1399,7 @@ void proto_register_c1222(void) {
sizeof(c1222_uat_data_t), /* record size */
"c1222_decryption_table", /* filename */
TRUE, /* from_profile */
- (void**)&c1222_uat_data, /* data_ptr */
+ &c1222_uat_data, /* data_ptr */
&num_c1222_uat_data, /* numitems_ptr */
UAT_AFFECTS_DISSECTION, /* affects dissection of packets, but not set of named fields */
NULL, /* help */
diff --git a/asn1/ess/packet-ess-template.c b/asn1/ess/packet-ess-template.c
index 0c28d44d6d..9064df06e7 100644
--- a/asn1/ess/packet-ess-template.c
+++ b/asn1/ess/packet-ess-template.c
@@ -173,7 +173,7 @@ void proto_register_ess(void) {
sizeof(ess_category_attributes_t),
"ess_category_attributes",
TRUE,
- (void**) &ess_category_attributes,
+ &ess_category_attributes,
&num_ess_category_attributes,
UAT_AFFECTS_DISSECTION, /* affects dissection of packets, but not set of named fields */
"ChEssCategoryAttributes",
diff --git a/asn1/ldap/packet-ldap-template.c b/asn1/ldap/packet-ldap-template.c
index 4a56d8d38a..562763a5d0 100644
--- a/asn1/ldap/packet-ldap-template.c
+++ b/asn1/ldap/packet-ldap-template.c
@@ -2310,7 +2310,7 @@ void proto_register_ldap(void) {
sizeof(attribute_type_t),
"custom_ldap_attribute_types",
TRUE,
- (void**) &attribute_types,
+ &attribute_types,
&num_attribute_types,
/* specifies named fields, so affects dissection
and the set of named fields */
diff --git a/asn1/pres/packet-pres-template.c b/asn1/pres/packet-pres-template.c
index 810fd67d5d..f775d26b39 100644
--- a/asn1/pres/packet-pres-template.c
+++ b/asn1/pres/packet-pres-template.c
@@ -419,7 +419,7 @@ void proto_register_pres(void) {
sizeof(pres_user_t),
"pres_context_list",
TRUE,
- (void**) &pres_users,
+ &pres_users,
&num_pres_users,
UAT_AFFECTS_DISSECTION, /* affects dissection of packets, but not set of named fields */
"ChPresContextList",
diff --git a/asn1/snmp/packet-snmp-template.c b/asn1/snmp/packet-snmp-template.c
index d47581a528..8e0fab8670 100644
--- a/asn1/snmp/packet-snmp-template.c
+++ b/asn1/snmp/packet-snmp-template.c
@@ -2495,7 +2495,7 @@ void proto_register_snmp(void) {
sizeof(snmp_ue_assoc_t),
"snmp_users",
TRUE,
- (void**)&ueas,
+ &ueas,
&num_ueas,
UAT_AFFECTS_DISSECTION, /* affects dissection of packets, but not set of named fields */
"ChSNMPUsersSection",
@@ -2516,7 +2516,7 @@ void proto_register_snmp(void) {
sizeof(snmp_st_assoc_t),
"snmp_specific_traps",
TRUE,
- (void**)&specific_traps,
+ &specific_traps,
&num_specific_traps,
UAT_AFFECTS_DISSECTION, /* affects dissection of packets, but not set of named fields */
"ChSNMPEnterpriseSpecificTrapTypes",