diff options
author | kmacy <kmacy@FreeBSD.org> | 2007-12-21 21:47:19 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2007-12-21 21:47:19 +0000 |
commit | 0c072476c76ef010b7c27f6120df9b58a8db65e7 (patch) | |
tree | 1da52326e56d465dfa25b95e6b50023ad4395d7c | |
parent | e6712341fe1f9b868e1174fb8a50b13bbb7303ab (diff) | |
download | FreeBSD-src-0c072476c76ef010b7c27f6120df9b58a8db65e7.zip FreeBSD-src-0c072476c76ef010b7c27f6120df9b58a8db65e7.tar.gz |
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
-rw-r--r-- | usr.sbin/ppp/auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/auth.c b/usr.sbin/ppp/auth.c index b5038ed..b8d572b 100644 --- a/usr.sbin/ppp/auth.c +++ b/usr.sbin/ppp/auth.c @@ -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 }; |