summaryrefslogtreecommitdiffstats
path: root/source/libsmb
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
commit39fbeb04ae938594c380d97ebe67c012fa0dd51a (patch)
tree4a188f8dc01ec27b77c879a9bfadc40677126564 /source/libsmb
parent2f793c48a9447955195620c891d30d93b518ee0d (diff)
downloadsamba-39fbeb04ae938594c380d97ebe67c012fa0dd51a.tar.gz
samba-39fbeb04ae938594c380d97ebe67c012fa0dd51a.tar.xz
samba-39fbeb04ae938594c380d97ebe67c012fa0dd51a.zip
cleanups to make thinsg compile cleanly
Diffstat (limited to 'source/libsmb')
-rw-r--r--source/libsmb/smbencrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libsmb/smbencrypt.c b/source/libsmb/smbencrypt.c
index a0683b5d282..0221520ce65 100644
--- a/source/libsmb/smbencrypt.c
+++ b/source/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 */