summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2010-08-12 19:33:01 +0200
committerTim Rice <tim@multitalents.net>2010-08-12 19:33:01 +0200
commitad7d547acd8ee484f6841dd6c63bd768144e1329 (patch)
tree0ad5394662edc6587728a9fc2a71e6ce0477b652
parent - (tim) [regress/login-timeout.sh regress/reconfigure.sh regress/reexec.sh (diff)
downloadopenssh-ad7d547acd8ee484f6841dd6c63bd768144e1329.tar.xz
openssh-ad7d547acd8ee484f6841dd6c63bd768144e1329.zip
- (tim) [auth.c] add cast to quiet compiler. Change only affects SVR5 systems.
-rw-r--r--ChangeLog1
-rw-r--r--auth.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index daf1e98f5..0f9a265a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
tests would fail because the pidfile could not be read by a regular user.
"cat: cannot open ...../regress/pidfile: Permission denied (error 13)"
Make sure cat is run by $SUDO. no objection from me. djm@
+ - (tim) [auth.c] add cast to quiet compiler. Change only affects SVR5 systems.
20100809
- (djm) bz#1561: don't bother setting IFF_UP on tun(4) device if it is
diff --git a/auth.c b/auth.c
index a27667f42..dba1e6555 100644
--- a/auth.c
+++ b/auth.c
@@ -143,7 +143,7 @@ allowed_user(struct passwd * pw)
locked = 1;
#endif
#ifdef USE_LIBIAF
- free(passwd);
+ free((void *) passwd);
#endif /* USE_LIBIAF */
if (locked) {
logit("User %.100s not allowed because account is locked",