Skip to content

Commit b4add04

Browse files
author
Gabriel A. Samfira
committed
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]
1 parent fa24ccf commit b4add04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sasl_defs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ static int sasl_log(void *context, int level, const char *message)
145145

146146
static sasl_callback_t sasl_callbacks[] = {
147147
#ifdef ENABLE_SASL_PWDB
148-
{ SASL_CB_SERVER_USERDB_CHECKPASS, sasl_server_userdb_checkpass, NULL },
148+
{ SASL_CB_SERVER_USERDB_CHECKPASS, (sasl_callback_ft)sasl_server_userdb_checkpass, NULL },
149149
#endif
150150

151151
{ SASL_CB_LOG, (sasl_callback_ft)sasl_log, NULL },

0 commit comments

Comments
 (0)