r17316: More C++ warnings -- 456 left
[gd/samba-autobuild/.git] / source3 / rpc_client / cli_echo.c
index 9818fad79b512161c5606f9c10f79e3da791bfda..b76b6e285fed93a46e1861d16e0cb2b781e4b52a 100644 (file)
@@ -78,7 +78,7 @@ NTSTATUS rpccli_echo_data(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
        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;
                }