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 | 0de001a5446545b928eb88e1916b4fe674017424 (patch) | |
tree | cf533b7a4c9a0fb5428cf24cd996a16950afe302 /source/rpc_parse | |
parent | 04d671b8c9bd5bf811e6dbd6981f1874eb49740c (diff) | |
download | samba-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.c | 2 |
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); } /******************************************************************* |