From b4add04487515cd12985f17b006bff83e3e5ea03 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Samfira" Date: Tue, 18 Sep 2012 16:15:37 +0300 Subject: fix enable-sasl-pwdb * using --enable-sasl-pwdb will make the compile fail with: sasl_defs.c:148:4: error: initialization from incompatible pointer type [-Werror] --- sasl_defs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sasl_defs.c b/sasl_defs.c index 1faefc8..93a7b8b 100644 --- a/sasl_defs.c +++ b/sasl_defs.c @@ -145,7 +145,7 @@ static int sasl_log(void *context, int level, const char *message) static sasl_callback_t sasl_callbacks[] = { #ifdef ENABLE_SASL_PWDB - { SASL_CB_SERVER_USERDB_CHECKPASS, sasl_server_userdb_checkpass, NULL }, + { SASL_CB_SERVER_USERDB_CHECKPASS, (sasl_callback_ft)sasl_server_userdb_checkpass, NULL }, #endif { SASL_CB_LOG, (sasl_callback_ft)sasl_log, NULL }, -- cgit v1.2.1