svn commit: samba r21072 - in branches/SAMBA_4_0/source/libcli/auth: .

metze at samba.org metze at samba.org
Wed Jan 31 09:25:38 GMT 2007


Author: metze
Date: 2007-01-31 09:25:37 +0000 (Wed, 31 Jan 2007)
New Revision: 21072

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21072

Log:
fix compiler warning

metze
Modified:
   branches/SAMBA_4_0/source/libcli/auth/smbencrypt.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/auth/smbencrypt.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/auth/smbencrypt.c	2007-01-31 07:08:36 UTC (rev 21071)
+++ branches/SAMBA_4_0/source/libcli/auth/smbencrypt.c	2007-01-31 09:25:37 UTC (rev 21072)
@@ -72,7 +72,7 @@
 	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;
 	}
 	



More information about the samba-cvs mailing list