diff options
author | Luke Leighton <lkcl@samba.org> | 1998-10-09 20:31:52 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-10-09 20:31:52 +0000 |
commit | 0b90442021aa3adb5ae7f09c53c9e54c7655d8c5 (patch) | |
tree | 34bb3f8470b6e5bd84e857aef7d8847c2df5405f /source/rpc_client | |
parent | e0445419b2d50ae6efef36f4f295ebcfdbf1ad82 (diff) | |
download | samba-0b90442021aa3adb5ae7f09c53c9e54c7655d8c5.tar.gz samba-0b90442021aa3adb5ae7f09c53c9e54c7655d8c5.tar.xz samba-0b90442021aa3adb5ae7f09c53c9e54c7655d8c5.zip |
signed / unsigned issues spotted by herb
Diffstat (limited to 'source/rpc_client')
-rw-r--r-- | source/rpc_client/cli_pipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/rpc_client/cli_pipe.c b/source/rpc_client/cli_pipe.c index 732161ad822..d21840ec46b 100644 --- a/source/rpc_client/cli_pipe.c +++ b/source/rpc_client/cli_pipe.c @@ -519,7 +519,7 @@ BOOL rpc_api_pipe_req(struct cli_state *cli, uint8 op_num, if (auth_seal) { crc32 = crc32_calc_buffer(data->offset, mem_data(&data->data, 0)); - NTLMSSPcalc(cli->ntlmssp_hash, mem_data(&data->data, 0), data->offset); + NTLMSSPcalc(cli->ntlmssp_hash, (uchar*)mem_data(&data->data, 0), data->offset); } if (auth_verify) @@ -532,7 +532,7 @@ BOOL rpc_api_pipe_req(struct cli_state *cli, uint8 op_num, make_rpc_auth_ntlmssp_chk(&chk, NTLMSSP_SIGN_VERSION, crc32, 0); smb_io_rpc_auth_ntlmssp_chk("auth_sign", &chk, &auth_verf, 0); - NTLMSSPcalc(cli->ntlmssp_hash, mem_data(&auth_verf.data, 4), 12); + NTLMSSPcalc(cli->ntlmssp_hash, (uchar*)mem_data(&auth_verf.data, 4), 12); } if (auth_seal || auth_verify) |