git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2ec8e5
)
r10959: fix compiler warnings
author
Stefan Metzmacher
<metze@samba.org>
Thu, 13 Oct 2005 10:02:36 +0000
(10:02 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:39:48 +0000
(13:39 -0500)
metze
(This used to be commit
9a9311fa6b4bbb2a385413c056c8be57cdb9eb59
)
source4/lib/ldb/common/ldb_dn.c
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/common/ldb_dn.c
b/source4/lib/ldb/common/ldb_dn.c
index 5895432431ef1f1dbe3c39cd8766088e48383c7b..4c1e9a9d0780c9e7aed79e8ce67af3093ec356a1 100644
(file)
--- 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;