diff options
author | Gabriel A. Samfira <gaby@rohost.com> | 2012-09-18 16:15:37 +0300 |
---|---|---|
committer | Gabriel A. Samfira <gaby@rohost.com> | 2012-09-18 16:15:37 +0300 |
commit | b4add04487515cd12985f17b006bff83e3e5ea03 (patch) | |
tree | b91924211f6fd351844226895b699a2da053ac8c /sasl_defs.c | |
parent | fa24ccfb9ff097a86915f34523fdba944fe5474a (diff) | |
download | memcached-b4add04487515cd12985f17b006bff83e3e5ea03.tar.gz |
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]
Diffstat (limited to 'sasl_defs.c')
-rw-r--r-- | sasl_defs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 }, |