aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/ldap/packet-ldap-template.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2006-08-19 02:56:16 +0000
committerGuy Harris <guy@alum.mit.edu>2006-08-19 02:56:16 +0000
commit338f7ede9926dab6cb916c19fd2d6ed6f05f1105 (patch)
treec8ea16aecde49e228922bfac7205d6c018e8f9e3 /asn1/ldap/packet-ldap-template.c
parent46bcd1705456ed36778440a6a509c4df1ff7ac5a (diff)
Squelch a compiler warning.
svn path=/trunk/; revision=18954
Diffstat (limited to 'asn1/ldap/packet-ldap-template.c')
-rw-r--r--asn1/ldap/packet-ldap-template.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/asn1/ldap/packet-ldap-template.c b/asn1/ldap/packet-ldap-template.c
index afb9ca6ebe..1314c4464a 100644
--- a/asn1/ldap/packet-ldap-template.c
+++ b/asn1/ldap/packet-ldap-template.c
@@ -1189,7 +1189,8 @@ dissect_normal_ldap_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
static void
dissect_ldap_oid(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
- char *oid, *oidname;
+ char *oid;
+ const char *oidname;
/* tvb here contains an ascii string that is really an oid */
/* XXX we should convert the string oid into a real oid so we can use