Permalink
Browse files

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]
  • Loading branch information...
1 parent fa24ccf commit b4add04487515cd12985f17b006bff83e3e5ea03 Gabriel A. Samfira committed Sep 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 sasl_defs.c
View
2 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 },

0 comments on commit b4add04

Please sign in to comment.