summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-31 09:25:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:44:28 -0500
commita9a3e4eafc8ae67ebd00a476cf34bd69400413ba (patch)
tree4b6a7c5af8d941d5f0c4682622844c701dc8ae16
parentb9f11e3bc9c0f696cce0792544afa76c07c20a2a (diff)
downloadsamba-a9a3e4eafc8ae67ebd00a476cf34bd69400413ba.tar.gz
samba-a9a3e4eafc8ae67ebd00a476cf34bd69400413ba.tar.bz2
samba-a9a3e4eafc8ae67ebd00a476cf34bd69400413ba.zip
r21072: fix compiler warning
metze (This used to be commit e788709835fa13b512fbf38951c9d0ca9bc3df18)
-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;
}