summaryrefslogtreecommitdiffstats
path: root/auth.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-05-13 08:39:33 +0200
committerDarren Tucker <dtucker@zip.com.au>2004-05-13 08:39:33 +0200
commit1f8311c836a20ce4923e2142d206f8d8073d0ca4 (patch)
tree93c92ccf9709d18faa075fb2b3c5fda4d969b28a /auth.c
parent - djm@cvs.openbsd.org 2004/05/09 01:26:48 (diff)
downloadopenssh-1f8311c836a20ce4923e2142d206f8d8073d0ca4.tar.xz
openssh-1f8311c836a20ce4923e2142d206f8d8073d0ca4.zip
- deraadt@cvs.openbsd.org 2004/05/11 19:01:43
[auth.c auth2-none.c authfile.c channels.c monitor.c monitor_mm.c packet.c packet.h progressmeter.c session.c openbsd-compat/xmmap.c] improve some code lint did not like; djm millert ok
Diffstat (limited to 'auth.c')
-rw-r--r--auth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/auth.c b/auth.c
index 8acfcf86c..4f93ce5ae 100644
--- a/auth.c
+++ b/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 $");
#ifdef HAVE_LOGIN_H
#include <login.h>
@@ -562,8 +562,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;
#ifdef HAVE_PW_CLASS_IN_PASSWD
fake.pw_class = "";
#endif