svn commit: samba r17892 - in branches/SAMBA_4_0/source/lib/talloc:
.
metze at samba.org
metze at samba.org
Mon Aug 28 17:40:31 GMT 2006
Author: metze
Date: 2006-08-28 17:40:31 +0000 (Mon, 28 Aug 2006)
New Revision: 17892
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17892
Log:
fix the last talloc c++ warning
metze
Modified:
branches/SAMBA_4_0/source/lib/talloc/talloc.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/talloc/talloc.c
===================================================================
--- branches/SAMBA_4_0/source/lib/talloc/talloc.c 2006-08-28 17:38:49 UTC (rev 17891)
+++ branches/SAMBA_4_0/source/lib/talloc/talloc.c 2006-08-28 17:40:31 UTC (rev 17892)
@@ -813,7 +813,8 @@
for (c=tc->child;c;c=c->next) {
if (c->name == TALLOC_MAGIC_REFERENCE) {
- struct talloc_reference_handle *handle = TC_PTR_FROM_CHUNK(c);
+ struct talloc_reference_handle *handle =
+ (struct talloc_reference_handle *)TC_PTR_FROM_CHUNK(c);
const char *name2 = talloc_get_name(handle->ptr);
fprintf(f, "%*sreference to: %s\n", depth*4, "", name2);
} else {
More information about the samba-cvs
mailing list