summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_pipe.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-10-20 22:37:44 +0000
committerLuke Leighton <lkcl@samba.org>1998-10-20 22:37:44 +0000
commitd8f0e60195ff8447df9235f60095c4e2bb4561e7 (patch)
treea26e82ebbb4ee6223a0cffd5c41666ce401f2dcf /source3/rpc_client/cli_pipe.c
parent89087385fe1da642ff80d0558c72817c276f631b (diff)
downloadsamba-d8f0e60195ff8447df9235f60095c4e2bb4561e7.tar.gz
samba-d8f0e60195ff8447df9235f60095c4e2bb4561e7.tar.bz2
samba-d8f0e60195ff8447df9235f60095c4e2bb4561e7.zip
signed / unsigned warnings (found by herb).
how do i switch on these warnings in gcc????? (This used to be commit 39db385a0c47c11adb6bf3bac89c4bb76f675049)
Diffstat (limited to 'source3/rpc_client/cli_pipe.c')
-rw-r--r--source3/rpc_client/cli_pipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index f5587567cd..1a72f930c5 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -157,7 +157,7 @@ static BOOL rpc_auth_pipe(struct cli_state *cli, prs_struct *rdata,
{
DEBUG(10,("rpc_auth_pipe: seal\n"));
dump_data(100, reply_data, data_len);
- NTLMSSPcalc(cli->ntlmssp_hash, reply_data, data_len);
+ NTLMSSPcalc(cli->ntlmssp_hash, (uchar*)reply_data, data_len);
dump_data(100, reply_data, data_len);
}
@@ -180,7 +180,7 @@ static BOOL rpc_auth_pipe(struct cli_state *cli, prs_struct *rdata,
if (auth_verify)
{
prs_struct auth_verf;
- char *data = (uchar*)mem_data(&rdata->data, len - auth_len);
+ char *data = mem_data(&rdata->data, len - auth_len);
if (data == NULL) return False;
DEBUG(10,("rpc_auth_pipe: verify\n"));