summaryrefslogtreecommitdiff
path: root/source3/rpc_client
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
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')
-rw-r--r--source3/rpc_client/cli_login.c6
-rw-r--r--source3/rpc_client/cli_pipe.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/source3/rpc_client/cli_login.c b/source3/rpc_client/cli_login.c
index 1b12828550..e18062220b 100644
--- a/source3/rpc_client/cli_login.c
+++ b/source3/rpc_client/cli_login.c
@@ -106,13 +106,13 @@ BOOL cli_nt_login_interactive(struct cli_state *cli, char *domain, char *usernam
uint32 smb_userid_low, char *password,
NET_ID_INFO_CTR *ctr, NET_USER_INFO_3 *user_info3)
{
- unsigned char lm_owf_user_pwd[16];
- unsigned char nt_owf_user_pwd[16];
+ uchar lm_owf_user_pwd[16];
+ uchar nt_owf_user_pwd[16];
BOOL ret;
DEBUG(5,("cli_nt_login_interactive: %d\n", __LINE__));
- nt_lm_owf_gen(password, (char *)nt_owf_user_pwd, (char *)lm_owf_user_pwd);
+ nt_lm_owf_gen(password, nt_owf_user_pwd, lm_owf_user_pwd);
#ifdef DEBUG_PASSWORD
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"));