summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_samr.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/rpcclient/cmd_samr.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/rpcclient/cmd_samr.c')
-rw-r--r--source3/rpcclient/cmd_samr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c
index 69e29f032a..fa4c631899 100644
--- a/source3/rpcclient/cmd_samr.c
+++ b/source3/rpcclient/cmd_samr.c
@@ -48,11 +48,11 @@ void cmd_sam_ntchange_pwd(struct client_info *info)
fstring sid;
char *new_passwd;
BOOL res = True;
- uchar nt_newpass[516];
+ char nt_newpass[516];
uchar nt_hshhash[16];
uchar nt_newhash[16];
uchar nt_oldhash[16];
- uchar lm_newpass[516];
+ char lm_newpass[516];
uchar lm_newhash[16];
uchar lm_hshhash[16];
uchar lm_oldhash[16];
@@ -99,8 +99,8 @@ void cmd_sam_ntchange_pwd(struct client_info *info)
/* establish a connection. */
res = res ? do_samr_chgpasswd_user(smb_cli,
srv_name, smb_cli->user_name,
- nt_newpass, nt_hshhash,
- lm_newpass, lm_hshhash) : False;
+ nt_newpass, (char*)nt_hshhash,
+ lm_newpass, (char*)lm_hshhash) : False;
/* close the session */
cli_nt_session_close(smb_cli);