summaryrefslogtreecommitdiff
path: root/src/lib/libc/crypt/crypt2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/crypt/crypt2.c')
-rw-r--r--src/lib/libc/crypt/crypt2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/crypt/crypt2.c b/src/lib/libc/crypt/crypt2.c
index 0c93c12044..53b5bfb706 100644
--- a/src/lib/libc/crypt/crypt2.c
+++ b/src/lib/libc/crypt/crypt2.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: crypt2.c,v 1.1 2003/08/12 01:22:17 deraadt Exp $ */ 1/* $OpenBSD: crypt2.c,v 1.2 2004/09/14 22:56:57 deraadt Exp $ */
2 2
3/* 3/*
4 * FreeSec: libcrypt 4 * FreeSec: libcrypt
@@ -47,7 +47,7 @@
47 */ 47 */
48 48
49#if defined(LIBC_SCCS) && !defined(lint) 49#if defined(LIBC_SCCS) && !defined(lint)
50static char rcsid[] = "$OpenBSD: crypt2.c,v 1.1 2003/08/12 01:22:17 deraadt Exp $"; 50static char rcsid[] = "$OpenBSD: crypt2.c,v 1.2 2004/09/14 22:56:57 deraadt Exp $";
51#endif /* LIBC_SCCS and not lint */ 51#endif /* LIBC_SCCS and not lint */
52 52
53#include <sys/types.h> 53#include <sys/types.h>
@@ -79,7 +79,7 @@ setkey(const char *key)
79 if (*key++ & 1) 79 if (*key++ & 1)
80 p[i] |= _des_bits8[j]; 80 p[i] |= _des_bits8[j];
81 } 81 }
82 return(des_setkey(p)); 82 return(des_setkey((char *)p));
83} 83}
84 84
85int 85int