diff options
author | Luke Leighton <lkcl@samba.org> | 1999-02-11 22:12:49 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-02-11 22:12:49 +0000 |
commit | f38bfc7d9aa07c4e21448aa846956bd89a259a65 (patch) | |
tree | d603b9188ac759d67877f8867a3f69c2ab425ef1 /source3/smbd | |
parent | c6d16eea4394ff1c4d12cb435eebb0686b5ee736 (diff) | |
download | samba-f38bfc7d9aa07c4e21448aa846956bd89a259a65.tar.gz samba-f38bfc7d9aa07c4e21448aa846956bd89a259a65.tar.bz2 samba-f38bfc7d9aa07c4e21448aa846956bd89a259a65.zip |
UNICODE issues.
(This used to be commit 6a437cfb33f24913e0c1f8484c0b08ef317e513b)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/chgpasswd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/chgpasswd.c b/source3/smbd/chgpasswd.c index 9791d3a38e..a2e75ecc43 100644 --- a/source3/smbd/chgpasswd.c +++ b/source3/smbd/chgpasswd.c @@ -693,7 +693,7 @@ BOOL check_oem_password(char *user, int uni_pw_len = new_pw_len; char *pw; new_pw_len /= 2; - pw = unistrn2((uint16*)(&lmdata[512-uni_pw_len]), new_pw_len); + pw = unistrn2(&lmdata[512-uni_pw_len], new_pw_len); memcpy(new_passwd, pw, new_pw_len+1); } else |