From 0c072476c76ef010b7c27f6120df9b58a8db65e7 Mon Sep 17 00:00:00 2001 From: kmacy Date: Fri, 21 Dec 2007 21:47:19 +0000 Subject: 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 --- usr.sbin/ppp/auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin') 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 }; -- cgit v1.1