From 2d0824245c030b08f90972ea0756fccf981263c0 Mon Sep 17 00:00:00 2001 From: Marc Dionne Date: Tue, 10 Nov 2009 18:16:45 -0500 Subject: [PATCH] src/pam/afs_auth.c warning fix ka_UserAuthenticateGeneral expects an afs_int32 pointer for the password_expires argument. A (long *) was used in afs_auth.c, generating a few warnings. Change-Id: Iafc92e72022644ff23c642e801d51bd4387afa88 Reviewed-on: http://gerrit.openafs.org/803 Reviewed-by: Russ Allbery Reviewed-by: Simon Wilkinson Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear --- src/pam/afs_auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pam/afs_auth.c b/src/pam/afs_auth.c index 8b9d6ae..4807d66 100644 --- a/src/pam/afs_auth.c +++ b/src/pam/afs_auth.c @@ -60,7 +60,7 @@ pam_sm_authenticate(pam_handle_t * pamh, int flags, int argc, int set_expires = 0; /* This option is only used in pam_set_cred() */ int got_authtok = 0; /* got PAM_AUTHTOK upon entry */ char *user = NULL, *password = NULL; - long password_expires = -1; + afs_int32 password_expires = -1; int torch_password = 1; int i; struct pam_conv *pam_convp = NULL; -- 1.9.4