summaryrefslogtreecommitdiff
path: root/source3/libsmb/smbencrypt.c
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2003-08-15 04:42:05 +0000
committerHerb Lewis <herb@samba.org>2003-08-15 04:42:05 +0000
commitaa39cc37dab9c4f8c3295d872bb8cc143890b378 (patch)
tree49adb72109be61b3b3e9c1a77c291a0615ecc536 /source3/libsmb/smbencrypt.c
parent48ceb1b0685f193a1bc95d73401aa48561763dfb (diff)
downloadsamba-aa39cc37dab9c4f8c3295d872bb8cc143890b378.tar.gz
samba-aa39cc37dab9c4f8c3295d872bb8cc143890b378.tar.bz2
samba-aa39cc37dab9c4f8c3295d872bb8cc143890b378.zip
get rid of more compiler warnings
(This used to be commit 398bd14fc6e2f8ab2f34211270e179b8928a6669)
Diffstat (limited to 'source3/libsmb/smbencrypt.c')
-rw-r--r--source3/libsmb/smbencrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/smbencrypt.c b/source3/libsmb/smbencrypt.c
index ada6a423f2..ec31bb5dba 100644
--- a/source3/libsmb/smbencrypt.c
+++ b/source3/libsmb/smbencrypt.c
@@ -81,7 +81,7 @@ void E_deshash(const char *passwd, uchar p16[16])
push_ascii(dospwd, passwd, sizeof(dospwd), STR_UPPER|STR_TERMINATE);
/* Only the fisrt 14 chars are considered, password need not be null terminated. */
- E_P16(dospwd, p16);
+ E_P16((const unsigned char *)dospwd, p16);
ZERO_STRUCT(dospwd);
}