From a9a3e4eafc8ae67ebd00a476cf34bd69400413ba Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 31 Jan 2007 09:25:37 +0000 Subject: r21072: fix compiler warning metze (This used to be commit e788709835fa13b512fbf38951c9d0ca9bc3df18) --- source4/libcli/auth/smbencrypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/libcli/auth') 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; } -- cgit