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:
kmacy 2007-12-21 21:47:19 +00:00
parent e6712341fe
commit 0c072476c7

View File

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