summaryrefslogtreecommitdiffstats
path: root/source/rpc_parse
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-04-20 22:06:37 +0200
committerMichael Adam <obnox@samba.org>2008-04-20 22:29:36 +0200
commit0de001a5446545b928eb88e1916b4fe674017424 (patch)
treecf533b7a4c9a0fb5428cf24cd996a16950afe302 /source/rpc_parse
parent04d671b8c9bd5bf811e6dbd6981f1874eb49740c (diff)
downloadsamba-0de001a5446545b928eb88e1916b4fe674017424.tar.gz
samba-0de001a5446545b928eb88e1916b4fe674017424.tar.xz
samba-0de001a5446545b928eb88e1916b4fe674017424.zip
rpc_parse: fix "assignment discards qualifier" warning by using CONST_DISCARD.
Michael
Diffstat (limited to 'source/rpc_parse')
-rw-r--r--source/rpc_parse/parse_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_parse/parse_rpc.c b/source/rpc_parse/parse_rpc.c
index 893eb57808c..d0be83bd4eb 100644
--- a/source/rpc_parse/parse_rpc.c
+++ b/source/rpc_parse/parse_rpc.c
@@ -262,7 +262,7 @@ void init_rpc_context(RPC_CONTEXT *rpc_ctx, uint16 context_id,
rpc_ctx->abstract = *abstract;
/* vers. of interface to use for replies */
- rpc_ctx->transfer = transfer;
+ rpc_ctx->transfer = CONST_DISCARD(RPC_IFACE *, transfer);
}
/*******************************************************************