summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-21 19:01:53 +0100
committerStefan Metzmacher <metze@samba.org>2010-03-01 18:45:19 +0100
commit246742b30eb90da4d2c314e7b60bfc62ef0275ec (patch)
treea4f99897a3246b21b0fc84ad4bd9633266786bf0 /source4/rpc_server
parentc953b262419b8f67a7976b1f82d14e76893a7ec2 (diff)
downloadsamba-246742b30eb90da4d2c314e7b60bfc62ef0275ec.tar.gz
samba-246742b30eb90da4d2c314e7b60bfc62ef0275ec.tar.bz2
samba-246742b30eb90da4d2c314e7b60bfc62ef0275ec.zip
s4:remote RPC - make this one "signed-safe"
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/remote/dcesrv_remote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/rpc_server/remote/dcesrv_remote.c b/source4/rpc_server/remote/dcesrv_remote.c
index 45944bc227..f01026b25f 100644
--- a/source4/rpc_server/remote/dcesrv_remote.c
+++ b/source4/rpc_server/remote/dcesrv_remote.c
@@ -238,7 +238,7 @@ static NTSTATUS remote_op_ndr_push(struct dcesrv_call_state *dce_call, TALLOC_CT
static NTSTATUS remote_register_one_iface(struct dcesrv_context *dce_ctx, const struct dcesrv_interface *iface)
{
- int i;
+ unsigned int i;
const struct ndr_interface_table *table = iface->private_data;
for (i=0;i<table->endpoints->count;i++) {
@@ -257,7 +257,7 @@ static NTSTATUS remote_register_one_iface(struct dcesrv_context *dce_ctx, const
static NTSTATUS remote_op_init_server(struct dcesrv_context *dce_ctx, const struct dcesrv_endpoint_server *ep_server)
{
- int i;
+ unsigned int i;
const char **ifaces = (const char **)str_list_make(dce_ctx, lp_parm_string(dce_ctx->lp_ctx, NULL, "dcerpc_remote", "interfaces"),NULL);
if (!ifaces) {