dovecot-2.2: Compiler warning fix.
dovecot at dovecot.org
dovecot at dovecot.org
Fri Dec 20 04:25:22 EET 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/f8ffa5e47e6f
changeset: 17083:f8ffa5e47e6f
user: Timo Sirainen <tss at iki.fi>
date: Fri Dec 20 04:25:17 2013 +0200
description:
Compiler warning fix.
Older libmysqlclient uses const char * as the arg.
diffstat:
src/lib-sql/driver-mysql.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 623b1d9414a6 -r f8ffa5e47e6f src/lib-sql/driver-mysql.c
--- a/src/lib-sql/driver-mysql.c Fri Dec 20 04:23:04 2013 +0200
+++ b/src/lib-sql/driver-mysql.c Fri Dec 20 04:25:17 2013 +0200
@@ -107,7 +107,7 @@
);
#ifdef HAVE_MYSQL_SSL_VERIFY_SERVER_CERT
mysql_options(db->mysql, MYSQL_OPT_SSL_VERIFY_SERVER_CERT,
- &db->ssl_verify_server_cert);
+ (void *)&db->ssl_verify_server_cert);
#endif
db->ssl_set = TRUE;
#else
More information about the dovecot-cvs
mailing list