summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libexec/getty/subr.c6
-rw-r--r--usr.sbin/tokeninit/tokeninit.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/libexec/getty/subr.c b/libexec/getty/subr.c
index d906d6b5f78..1ac1b2f459f 100644
--- a/libexec/getty/subr.c
+++ b/libexec/getty/subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr.c,v 1.15 2002/02/16 21:27:30 millert Exp $ */
+/* $OpenBSD: subr.c,v 1.16 2002/05/27 06:36:40 deraadt Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -35,7 +35,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)subr.c 8.1 (Berkeley) 6/4/93";*/
-static char rcsid[] = "$OpenBSD: subr.c,v 1.15 2002/02/16 21:27:30 millert Exp $";
+static char rcsid[] = "$OpenBSD: subr.c,v 1.16 2002/05/27 06:36:40 deraadt Exp $";
#endif /* not lint */
/*
@@ -497,7 +497,7 @@ long flags;
#ifdef XXX_DELAY
struct delayval {
- unsigned delay; /* delay in ms */
+ unsigned int delay; /* delay in ms */
int bits;
};
diff --git a/usr.sbin/tokeninit/tokeninit.c b/usr.sbin/tokeninit/tokeninit.c
index 79c50a51143..872cd63c921 100644
--- a/usr.sbin/tokeninit/tokeninit.c
+++ b/usr.sbin/tokeninit/tokeninit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tokeninit.c,v 1.4 2002/03/14 06:51:42 mpech Exp $ */
+/* $OpenBSD: tokeninit.c,v 1.5 2002/05/27 06:33:51 deraadt Exp $ */
/*-
* Copyright (c) 1995 Migration Associates Corp. All Rights Reserved
@@ -55,7 +55,7 @@ static int parse_secret(int, char *, unsigned char *);
int
main(int argc, char **argv)
{
- unsigned cmd = TOKEN_INITUSER;
+ unsigned int cmd = TOKEN_INITUSER;
int c;
int errors = 0;
int verbose = 0;
@@ -181,7 +181,7 @@ static int
parse_secret(int hexformat, char *seed, unsigned char *secret)
{
int i;
- unsigned tmp[8];
+ unsigned int tmp[8];
if (hexformat) {
if ((i = sscanf(seed, "%02x %02x %02x %02x %02x %02x %02x %02x",