svn commit: samba r22891 - in branches/SAMBA_3_0_26/source/rpc_client: .

obnox at samba.org obnox at samba.org
Tue May 15 09:40:29 GMT 2007


Author: obnox
Date: 2007-05-15 09:40:28 +0000 (Tue, 15 May 2007)
New Revision: 22891

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

Log:
Make cast explicit. (Fix C++ warning).


Modified:
   branches/SAMBA_3_0_26/source/rpc_client/cli_echo.c


Changeset:
Modified: branches/SAMBA_3_0_26/source/rpc_client/cli_echo.c
===================================================================
--- branches/SAMBA_3_0_26/source/rpc_client/cli_echo.c	2007-05-15 09:38:42 UTC (rev 22890)
+++ branches/SAMBA_3_0_26/source/rpc_client/cli_echo.c	2007-05-15 09:40:28 UTC (rev 22891)
@@ -78,7 +78,7 @@
 	result = True;
 
 	if (out_data) {
-		*out_data = TALLOC(mem_ctx, size);
+		*out_data = (char *)TALLOC(mem_ctx, size);
 		if (!*out_data) {
 			return NT_STATUS_NO_MEMORY;
 		}



More information about the samba-cvs mailing list