svn commit: samba r1997 - branches/SAMBA_4_0/source/torture/basic

metze at samba.org metze at samba.org
Mon Aug 23 07:28:15 GMT 2004


Author: metze
Date: 2004-08-23 07:28:15 +0000 (Mon, 23 Aug 2004)
New Revision: 1997

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1997&nolog=1

Log:
fix compiler warning

metze

Modified:
   branches/SAMBA_4_0/source/torture/basic/charset.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/basic/charset.c
===================================================================
--- branches/SAMBA_4_0/source/torture/basic/charset.c	2004-08-23 07:22:31 UTC (rev 1996)
+++ branches/SAMBA_4_0/source/torture/basic/charset.c	2004-08-23 07:28:15 UTC (rev 1997)
@@ -50,7 +50,7 @@
 	}
 	SSVAL(ucs_name, i*2, 0);
 
-	i = convert_string_allocate(CH_UCS2, CH_UNIX, ucs_name, (1+u_name_len)*2, &fname);
+	i = convert_string_allocate(CH_UCS2, CH_UNIX, ucs_name, (1+u_name_len)*2, (void **)&fname);
 	if (i == -1) {
 		free(ucs_name);
 		return NT_STATUS_NO_MEMORY;



More information about the samba-cvs mailing list