diff options
Diffstat (limited to 'source3/rpcclient/cmd_echo.c')
-rw-r--r-- | source3/rpcclient/cmd_echo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_echo.c b/source3/rpcclient/cmd_echo.c index 6d608ebaf1..4432f5b14b 100644 --- a/source3/rpcclient/cmd_echo.c +++ b/source3/rpcclient/cmd_echo.c @@ -60,7 +60,7 @@ static NTSTATUS cmd_echo_data(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, } 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 @@ static NTSTATUS cmd_echo_sink_data(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ } 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; |