Author: obnox Date: 2007-05-15 11:18:48 +0000 (Tue, 15 May 2007) New Revision: 22898
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22898 Log: Fix c++ warnings by making implicit casts explicit. Modified: branches/SAMBA_3_0_26/source/rpcclient/cmd_echo.c Changeset: Modified: branches/SAMBA_3_0_26/source/rpcclient/cmd_echo.c =================================================================== --- branches/SAMBA_3_0_26/source/rpcclient/cmd_echo.c 2007-05-15 11:12:10 UTC (rev 22897) +++ branches/SAMBA_3_0_26/source/rpcclient/cmd_echo.c 2007-05-15 11:18:48 UTC (rev 22898) @@ -60,7 +60,7 @@ } size = atoi(argv[1]); - in_data = SMB_MALLOC(size); + in_data = (char *)SMB_MALLOC(size); for (i = 0; i < size; i++) in_data[i] = i & 0xff; @@ -129,7 +129,7 @@ } size = atoi(argv[1]); - in_data = SMB_MALLOC(size); + in_data = (char *)SMB_MALLOC(size); for (i = 0; i < size; i++) in_data[i] = i & 0xff;
