From: stevesk Date: Sun, 21 Jul 2002 22:49:47 +0000 (+0000) Subject: - (stevesk) [auth-pam.c] cast to avoid initialization type mismatch X-Git-Tag: V_3_5_P1~114 X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/commitdiff_plain/f7808a93d8079c925fe8136e55450d15cb7eb621 - (stevesk) [auth-pam.c] cast to avoid initialization type mismatch warning on pam_conv struct conversation function. --- diff --git a/ChangeLog b/ChangeLog index b69c350e..20254e4c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,8 @@ openssh-3.4p1-owl-password-changing.diff - (stevesk) [auth-pam.c] merge rest of solar's PAM patch; PAM_NEW_AUTHTOK_REQD remains in #if 0 for now. + - (stevesk) [auth-pam.c] cast to avoid initialization type mismatch + warning on pam_conv struct conversation function. 20020720 - (stevesk) [ssh-keygen.c] bug #231: always init/seed_rng(). diff --git a/auth-pam.c b/auth-pam.c index f1830929..708d0ae9 100644 --- a/auth-pam.c +++ b/auth-pam.c @@ -51,7 +51,7 @@ static int do_pam_conversation(int num_msg, const struct pam_message **msg, /* module-local variables */ static struct pam_conv conv = { - do_pam_conversation, + (int (*)())do_pam_conversation, NULL }; static char *__pam_msg = NULL;