summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-10-02 02:13:36 +0200
committerStefan Metzmacher <metze@samba.org>2010-10-03 09:41:51 +0000
commitd05ae9451aacd36d9c7ce7c313f95137aa5e8941 (patch)
tree8d39d7ee36fc05ae72dcf664339f58461586abe9
parentff48f7c00ce39057df48575fe0ceb28250069f67 (diff)
downloadsamba-d05ae9451aacd36d9c7ce7c313f95137aa5e8941.tar.gz
samba-d05ae9451aacd36d9c7ce7c313f95137aa5e8941.tar.bz2
samba-d05ae9451aacd36d9c7ce7c313f95137aa5e8941.zip
s4:rpc_server/echo: fix compiler warning
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Oct 3 09:41:51 UTC 2010 on sn-devel-104
-rw-r--r--source4/rpc_server/echo/rpc_echo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/echo/rpc_echo.c b/source4/rpc_server/echo/rpc_echo.c
index ef80b26523..0b10bd3663 100644
--- a/source4/rpc_server/echo/rpc_echo.c
+++ b/source4/rpc_server/echo/rpc_echo.c
@@ -39,7 +39,7 @@ static NTSTATUS dcesrv_echo_EchoData(struct dcesrv_call_state *dce_call, TALLOC_
return NT_STATUS_OK;
}
- r->out.out_data = talloc_memdup(mem_ctx, r->in.in_data, r->in.len);
+ r->out.out_data = (uint8_t *)talloc_memdup(mem_ctx, r->in.in_data, r->in.len);
if (!r->out.out_data) {
return NT_STATUS_NO_MEMORY;
}