diff options
author | Michael Adam <obnox@samba.org> | 2008-04-20 22:06:37 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-04-20 22:29:36 +0200 |
commit | 166efed281599ba331c379e474120ce5b46271f0 (patch) | |
tree | 0b9184e02b461306985cc24ee1c7f280277546aa /source3/rpc_parse | |
parent | c57f1ab34537b43755c85c6a92b5a4708d532e0f (diff) | |
download | samba-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)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_rpc.c | 2 |
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); } /******************************************************************* |