svn commit: samba r10959 - in
branches/SAMBA_4_0/source/lib/ldb/common: .
metze at samba.org
metze at samba.org
Thu Oct 13 10:02:37 GMT 2005
Author: metze
Date: 2005-10-13 10:02:36 +0000 (Thu, 13 Oct 2005)
New Revision: 10959
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10959
Log:
fix compiler warnings
metze
Modified:
branches/SAMBA_4_0/source/lib/ldb/common/ldb_dn.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb_dn.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/common/ldb_dn.c 2005-10-13 09:23:33 UTC (rev 10958)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb_dn.c 2005-10-13 10:02:36 UTC (rev 10959)
@@ -857,10 +857,11 @@
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;
More information about the samba-cvs
mailing list