summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2002-02-15 00:31:27 +0000
committerHerb Lewis <herb@samba.org>2002-02-15 00:31:27 +0000
commita75ce2d1e658b25fc158960436b0e4af89bfe739 (patch)
tree9364939f97b18a9ab5a68e016a71e8a8dbd13d63
parenta1f99767e203e0fe3646d8d342afe7d049f37c55 (diff)
downloadsamba-a75ce2d1e658b25fc158960436b0e4af89bfe739.tar.gz
samba-a75ce2d1e658b25fc158960436b0e4af89bfe739.tar.xz
samba-a75ce2d1e658b25fc158960436b0e4af89bfe739.zip
one more compiler warning. I introduced this one myself :-)
-rw-r--r--source/utils/smbpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/utils/smbpasswd.c b/source/utils/smbpasswd.c
index f82e4d58b7d..fe084e9eaba 100644
--- a/source/utils/smbpasswd.c
+++ b/source/utils/smbpasswd.c
@@ -453,7 +453,7 @@ static int join_domain_byuser(char *domain, char *remote_machine,
encode_pw_buffer((char *)pwbuf, machine_pwd, plen, False);
- mdfour( ntpw, (char *)upw.buffer, plen);
+ mdfour( ntpw, (unsigned char *)upw.buffer, plen);
}
/* Set password on machine account */