diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-10-13 10:02:36 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:39:48 -0500 |
commit | 7b77baff161853f7469df899803861339a3dbc4e (patch) | |
tree | a4570ebc20f51d346179936389391f9296847f7b /source4/lib | |
parent | e2ec8e5e80fdf7f2819c7e6014b1f1f443e032a8 (diff) | |
download | samba-7b77baff161853f7469df899803861339a3dbc4e.tar.gz samba-7b77baff161853f7469df899803861339a3dbc4e.tar.bz2 samba-7b77baff161853f7469df899803861339a3dbc4e.zip |
r10959: fix compiler warnings
metze
(This used to be commit 9a9311fa6b4bbb2a385413c056c8be57cdb9eb59)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/ldb/common/ldb_dn.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/lib/ldb/common/ldb_dn.c b/source4/lib/ldb/common/ldb_dn.c index 5895432431..4c1e9a9d07 100644 --- a/source4/lib/ldb/common/ldb_dn.c +++ b/source4/lib/ldb/common/ldb_dn.c @@ -857,10 +857,11 @@ static char *ldb_dn_canonical(void *mem_ctx, const struct ldb_dn *dn, int ex_for break; } if (cracked) { - cracked = talloc_asprintf(mem_ctx, "%s.%s", dn->components[i].value.data, + cracked = talloc_asprintf(mem_ctx, "%s.%s", + (const char *)dn->components[i].value.data, cracked); } else { - cracked = talloc_strdup(mem_ctx, dn->components[i].value.data); + cracked = talloc_strdup(mem_ctx, (const char *)dn->components[i].value.data); } if (!cracked) { return NULL; |