summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/auth.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-05-11 19:01:44 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-05-11 19:01:44 +0000
commit864be3f922476a5c2cc5e3ec42c6881063ce787f (patch)
treed5f2fcc19905bc234c22d2a7e59c30969afd184c /usr.bin/ssh/auth.c
parente58c86ca6a450ac471b70aba4aadaa52d0b1aaa3 (diff)
improve some code lint did not like; djm millert ok
Diffstat (limited to 'usr.bin/ssh/auth.c')
-rw-r--r--usr.bin/ssh/auth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/auth.c b/usr.bin/ssh/auth.c
index 544d6321e76..404e850c047 100644
--- a/usr.bin/ssh/auth.c
+++ b/usr.bin/ssh/auth.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: auth.c,v 1.52 2004/05/08 00:01:37 deraadt Exp $");
+RCSID("$OpenBSD: auth.c,v 1.53 2004/05/11 19:01:43 deraadt Exp $");
#include <libgen.h>
@@ -473,8 +473,8 @@ fakepw(void)
fake.pw_passwd =
"$2a$06$r3.juUaHZDlIbQaO2dS9FuYxL1W9M81R1Tc92PoSNmzvpEqLkLGrK";
fake.pw_gecos = "NOUSER";
- fake.pw_uid = -1;
- fake.pw_gid = -1;
+ fake.pw_uid = (uid_t)-1;
+ fake.pw_gid = (gid_t)-1;
fake.pw_class = "";
fake.pw_dir = "/nonexist";
fake.pw_shell = "/nonexist";