summaryrefslogtreecommitdiff
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
commit166efed281599ba331c379e474120ce5b46271f0 (patch)
tree0b9184e02b461306985cc24ee1c7f280277546aa
parentc57f1ab34537b43755c85c6a92b5a4708d532e0f (diff)
downloadsamba-166efed281599ba331c379e474120ce5b46271f0.tar.gz
samba-166efed281599ba331c379e474120ce5b46271f0.tar.bz2
samba-166efed281599ba331c379e474120ce5b46271f0.zip
rpc_parse: fix "assignment discards qualifier" warning by using CONST_DISCARD.
Michael (This used to be commit 0de001a5446545b928eb88e1916b4fe674017424)
-rw-r--r--source3/rpc_parse/parse_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_rpc.c b/source3/rpc_parse/parse_rpc.c
index 893eb57808..d0be83bd4e 100644
--- a/source3/rpc_parse/parse_rpc.c
+++ b/source3/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);
}
/*******************************************************************