diff options
author | ume <ume@FreeBSD.org> | 2011-10-01 18:20:10 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2011-10-01 18:20:10 +0000 |
commit | 68c6f15722f9509e1acf75c09261e89990c5465a (patch) | |
tree | b5c85a216725657d9aec5ccbd9e8340d9a0b27ee /contrib/sendmail/src/usersmtp.c | |
parent | 5d35bac957d516cad359f4476f18e99c5c6d3cd2 (diff) | |
download | FreeBSD-src-68c6f15722f9509e1acf75c09261e89990c5465a.zip FreeBSD-src-68c6f15722f9509e1acf75c09261e89990c5465a.tar.gz |
Shut up warnings with Cyrus SASL 2.1.25.
Spotted by: ache
Tested by: ache
Diffstat (limited to 'contrib/sendmail/src/usersmtp.c')
-rw-r--r-- | contrib/sendmail/src/usersmtp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/sendmail/src/usersmtp.c b/contrib/sendmail/src/usersmtp.c index 0de839e..c5da512 100644 --- a/contrib/sendmail/src/usersmtp.c +++ b/contrib/sendmail/src/usersmtp.c @@ -524,15 +524,15 @@ static int attemptauth __P((MAILER *, MCI *, ENVELOPE *, SASL_AI_T *)); static sasl_callback_t callbacks[] = { - { SASL_CB_GETREALM, &saslgetrealm, NULL }, + { SASL_CB_GETREALM, (sasl_callback_ft)&saslgetrealm, NULL }, #define CB_GETREALM_IDX 0 - { SASL_CB_PASS, &getsecret, NULL }, + { SASL_CB_PASS, (sasl_callback_ft)&getsecret, NULL }, #define CB_PASS_IDX 1 - { SASL_CB_USER, &getsimple, NULL }, + { SASL_CB_USER, (sasl_callback_ft)&getsimple, NULL }, #define CB_USER_IDX 2 - { SASL_CB_AUTHNAME, &getsimple, NULL }, + { SASL_CB_AUTHNAME, (sasl_callback_ft)&getsimple, NULL }, #define CB_AUTHNAME_IDX 3 - { SASL_CB_VERIFYFILE, &safesaslfile, NULL }, + { SASL_CB_VERIFYFILE, (sasl_callback_ft)&safesaslfile, NULL }, #define CB_SAFESASL_IDX 4 { SASL_CB_LIST_END, NULL, NULL } }; |