aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-12-08 09:05:23 +0000
committerGuy Harris <guy@alum.mit.edu>2005-12-08 09:05:23 +0000
commit344b59b6b38b74a1b7e3be44ea03210d53b1ba7a (patch)
tree388e9f5e0326edf16a90bad2ab8218d337e3b78d
parenta9892169e358525240336f5e856c6e0334e05545 (diff)
Squelch a const vs. non-const pointer warning.
svn path=/trunk/; revision=16731
-rw-r--r--asn1/dop/packet-dop-template.c2
-rw-r--r--epan/dissectors/packet-dop.c6
-rw-r--r--epan/dissectors/packet-dop.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/asn1/dop/packet-dop-template.c b/asn1/dop/packet-dop-template.c
index ece0c6cfa4..395d62bafa 100644
--- a/asn1/dop/packet-dop-template.c
+++ b/asn1/dop/packet-dop-template.c
@@ -76,7 +76,7 @@ static gint ett_dop = -1;
static int
call_dop_oid_callback(char *base_oid, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree)
{
- char *name = NULL;
+ const char *name = NULL;
char binding_param[BER_MAX_OID_STR_LEN];
sprintf(binding_param, "%s.%s", base_oid, binding_type ? binding_type : "");
diff --git a/epan/dissectors/packet-dop.c b/epan/dissectors/packet-dop.c
index 02007f115d..fe0814d6d2 100644
--- a/epan/dissectors/packet-dop.c
+++ b/epan/dissectors/packet-dop.c
@@ -1,6 +1,6 @@
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Ethereal dissector compiler */
-/* .\packet-dop.c */
+/* ./packet-dop.c */
/* ../../tools/asn2eth.py -X -b -e -p dop -c dop.cnf -s packet-dop-template dop.asn */
/* Input file: packet-dop-template.c */
@@ -1709,7 +1709,7 @@ static void dissect_NHOBSubordinateToSuperior_PDU(tvbuff_t *tvb, packet_info *pi
static int
call_dop_oid_callback(char *base_oid, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree)
{
- char *name = NULL;
+ const char *name = NULL;
char binding_param[BER_MAX_OID_STR_LEN];
sprintf(binding_param, "%s.%s", base_oid, binding_type ? binding_type : "");
@@ -2218,7 +2218,7 @@ void proto_register_dop(void) {
"", HFILL }},
{ &hf_dop_accessPoints,
{ "accessPoints", "dop.accessPoints",
- FT_NONE, BASE_NONE, NULL, 0,
+ FT_UINT32, BASE_DEC, NULL, 0,
"", HFILL }},
{ &hf_dop_info,
{ "info", "dop.info",
diff --git a/epan/dissectors/packet-dop.h b/epan/dissectors/packet-dop.h
index aa0a5a7ea3..e403b1f00f 100644
--- a/epan/dissectors/packet-dop.h
+++ b/epan/dissectors/packet-dop.h
@@ -1,6 +1,6 @@
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Ethereal dissector compiler */
-/* .\packet-dop.h */
+/* ./packet-dop.h */
/* ../../tools/asn2eth.py -X -b -e -p dop -c dop.cnf -s packet-dop-template dop.asn */
/* Input file: packet-dop-template.h */