[dovecot-cvs] dovecot/src/lib-ntlm ntlm-encrypt.c,1.4,1.5

cras at dovecot.org cras at dovecot.org
Wed Sep 22 22:53:20 EEST 2004


Update of /var/lib/cvs/dovecot/src/lib-ntlm
In directory talvi:/tmp/cvs-serv14177/lib-ntlm

Modified Files:
	ntlm-encrypt.c 
Log Message:
compiler warning fix



Index: ntlm-encrypt.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-ntlm/ntlm-encrypt.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- ntlm-encrypt.c	31 Aug 2004 09:32:33 -0000	1.4
+++ ntlm-encrypt.c	22 Sep 2004 19:53:18 -0000	1.5
@@ -42,7 +42,7 @@
 	unsigned char buffer[14];
 	unsigned int i;
 
-	strncpy(buffer, passwd, sizeof(buffer));
+	strncpy((char *)buffer, passwd, sizeof(buffer));
 
 	for (i = 0; i < sizeof(buffer); i++)
 		buffer[i] = i_toupper(buffer[i]);



More information about the dovecot-cvs mailing list