diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-12-08 09:05:23 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-12-08 09:05:23 +0000 |
commit | 344b59b6b38b74a1b7e3be44ea03210d53b1ba7a (patch) | |
tree | 388e9f5e0326edf16a90bad2ab8218d337e3b78d /epan | |
parent | a9892169e358525240336f5e856c6e0334e05545 (diff) |
Squelch a const vs. non-const pointer warning.
svn path=/trunk/; revision=16731
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-dop.c | 6 | ||||
-rw-r--r-- | epan/dissectors/packet-dop.h | 2 |
2 files changed, 4 insertions, 4 deletions
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 */ |