diff options
Diffstat (limited to 'compat/pam_get_authtok.c')
-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: "; |