summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/auth/smbencrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/auth/smbencrypt.c b/source4/libcli/auth/smbencrypt.c
index 461665d670..3c55658025 100644
--- a/source4/libcli/auth/smbencrypt.c
+++ b/source4/libcli/auth/smbencrypt.c
@@ -72,7 +72,7 @@ _PUBLIC_ BOOL E_md4hash(const char *passwd, uint8_t p16[16])
if (len < 2) {
/* We don't want to return fixed data, as most callers
* don't check */
- mdfour(p16, passwd, strlen(passwd));
+ mdfour(p16, (const uint8_t *)passwd, strlen(passwd));
return False;
}