Fix/workaround build breakage caused by PAM import

struct pam_conv takes a void * for the appdata_ptr  but is being passed
a const char * - explicitly cast away the const
This commit is contained in:
Kip Macy 2007-12-21 21:47:19 +00:00
parent 520a4bfde7
commit 1ed67f13e4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174845

View File

@ -140,7 +140,7 @@ auth_CheckPasswd(const char *name, const char *data, const char *key)
#ifdef _OPENPAM
&openpam_nullconv, NULL
#else
&pam_conv, key
&pam_conv, (char *)key
#endif
};