summaryrefslogtreecommitdiff
path: root/source3/libsmb/smbencrypt.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-05-29 07:47:47 +0000
committerAndrew Tridgell <tridge@samba.org>1996-05-29 07:47:47 +0000
commit1956d1349441d8d5694df6dda67528bec4b1c10e (patch)
treebb10b89db2bf2fb63e2ad42f1d402fa1988c21dc /source3/libsmb/smbencrypt.c
parent0cb74d3bb87452dc47ca8d4763d31837b9741a10 (diff)
downloadsamba-1956d1349441d8d5694df6dda67528bec4b1c10e.tar.gz
samba-1956d1349441d8d5694df6dda67528bec4b1c10e.tar.bz2
samba-1956d1349441d8d5694df6dda67528bec4b1c10e.zip
cleanups to make thinsg compile cleanly
(This used to be commit 39fbeb04ae938594c380d97ebe67c012fa0dd51a)
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 a0683b5d28..0221520ce6 100644
--- a/source3/libsmb/smbencrypt.c
+++ b/source3/libsmb/smbencrypt.c
@@ -166,7 +166,7 @@ void E_md4hash(uchar *passwd, uchar *p16)
MDstruct MD;
/* Password cannot be longer than 128 characters */
- len = strlen(passwd);
+ len = strlen((char *)passwd);
if(len > 128)
len = 128;
/* Password must be converted to NT unicode */