lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1746 - nss-pam-ldapd/compat

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd commit: r1746 - nss-pam-ldapd/compat



Author: arthur
Date: Sat Sep  1 23:25:41 2012
New Revision: 1746
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1746&view=revision

Log:
include a missing cast

Modified:
   nss-pam-ldapd/compat/pam_get_authtok.c

Modified: nss-pam-ldapd/compat/pam_get_authtok.c
==============================================================================
--- nss-pam-ldapd/compat/pam_get_authtok.c      Sat Sep  1 22:17:23 2012        
(r1745)
+++ nss-pam-ldapd/compat/pam_get_authtok.c      Sat Sep  1 23:25:41 2012        
(r1746)
@@ -52,7 +52,7 @@
     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: ";
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/