svn commit: samba r5142 - in branches/SAMBA_4_0/source/lib/talloc: .

metze at samba.org metze at samba.org
Mon Jan 31 16:36:57 GMT 2005


Author: metze
Date: 2005-01-31 16:36:57 +0000 (Mon, 31 Jan 2005)
New Revision: 5142

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5142

Log:
fix compiler warning

metze

Modified:
   branches/SAMBA_4_0/source/lib/talloc/testsuite.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/talloc/testsuite.c
===================================================================
--- branches/SAMBA_4_0/source/lib/talloc/testsuite.c	2005-01-31 16:36:17 UTC (rev 5141)
+++ branches/SAMBA_4_0/source/lib/talloc/testsuite.c	2005-01-31 16:36:57 UTC (rev 5142)
@@ -641,7 +641,7 @@
 		return False;
 	}
 	talloc_set_type(el1, struct el2);
-	if (talloc_get_type(el1, struct el2) != el1) {
+	if (talloc_get_type(el1, struct el2) != (struct el2 *)el1) {
 		printf("type set failed on el1 with el2\n");
 		return False;
 	}



More information about the samba-cvs mailing list