diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2012-09-01 21:25:41 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2012-09-01 21:25:41 +0000 |
commit | 0e09bee4df174b919331f236cc5cabf446fa5055 (patch) | |
tree | 053291326cc9c3319e82148980508a237f5b49f2 /compat | |
parent | b0e7a2c0002b81dd99ba57a8c99bdb9589afb417 (diff) |
include a missing cast
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1746 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'compat')
-rw-r--r-- | compat/pam_get_authtok.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/pam_get_authtok.c b/compat/pam_get_authtok.c index 17b97ad..b9cec51 100644 --- a/compat/pam_get_authtok.c +++ b/compat/pam_get_authtok.c @@ -52,7 +52,7 @@ int pam_get_authtok(pam_handle_t *pamh,int item,const char **authtok,const char prompt=(prompt!=NULL)?prompt:"Old Password: "; else { - rc=pam_get_item(pamh,PAM_OLDAUTHTOK,&oldauthtok); + rc=pam_get_item(pamh,PAM_OLDAUTHTOK,(const void **)&oldauthtok); if ((rc==PAM_SUCCESS)&&(oldauthtok!=NULL)) { prompt=(prompt!=NULL)?prompt:"New Password: "; |