summaryrefslogtreecommitdiff
path: root/source4/rpc_server/remote
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-09-08 12:42:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:05:38 -0500
commitffeee68e4b72dd94fee57366bd8d38b8c284c3d4 (patch)
treea34ba763c0c9d4dc10a58484ed8277f2a6cbfa2f /source4/rpc_server/remote
parent1dfe79de91858d7568a1131d010a383e459dd8f9 (diff)
downloadsamba-ffeee68e4b72dd94fee57366bd8d38b8c284c3d4.tar.gz
samba-ffeee68e4b72dd94fee57366bd8d38b8c284c3d4.tar.bz2
samba-ffeee68e4b72dd94fee57366bd8d38b8c284c3d4.zip
r25026: Move param/param.h out of includes.h
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
Diffstat (limited to 'source4/rpc_server/remote')
-rw-r--r--source4/rpc_server/remote/dcesrv_remote.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/rpc_server/remote/dcesrv_remote.c b/source4/rpc_server/remote/dcesrv_remote.c
index 6ddffa1d6c..e51a847ee2 100644
--- a/source4/rpc_server/remote/dcesrv_remote.c
+++ b/source4/rpc_server/remote/dcesrv_remote.c
@@ -23,6 +23,7 @@
#include "auth/auth.h"
#include "auth/credentials/credentials.h"
#include "librpc/ndr/ndr_table.h"
+#include "param/param.h"
struct dcesrv_remote_private {
@@ -114,7 +115,7 @@ static NTSTATUS remote_op_bind(struct dcesrv_call_state *dce_call, const struct
static void remote_op_unbind(struct dcesrv_connection_context *context, const struct dcesrv_interface *iface)
{
- struct dcesrv_remote_private *private = context->private;
+ struct dcesrv_remote_private *private = (struct dcesrv_remote_private *)context->private;
talloc_free(private->c_pipe);
@@ -124,7 +125,7 @@ static void remote_op_unbind(struct dcesrv_connection_context *context, const st
static NTSTATUS remote_op_ndr_pull(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ndr_pull *pull, void **r)
{
NTSTATUS status;
- const struct ndr_interface_table *table = dce_call->context->iface->private;
+ const struct ndr_interface_table *table = (const struct ndr_interface_table *)dce_call->context->iface->private;
uint16_t opnum = dce_call->pkt.u.request.opnum;
dce_call->fault_code = 0;