Module: sip-router Branch: master Commit: 14d4ea782a9a24da9755963ea12807f255cebce5 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=14d4ea78...
Author: Richard Fuchs rfuchs@sipwise.com Committer: Richard Fuchs rfuchs@sipwise.com Date: Mon Apr 29 11:26:18 2013 -0400
db_mysql: add cast to remove compile warning
---
modules/db_mysql/km_db_mysql.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/db_mysql/km_db_mysql.c b/modules/db_mysql/km_db_mysql.c index 88cc481..5758f6e 100644 --- a/modules/db_mysql/km_db_mysql.c +++ b/modules/db_mysql/km_db_mysql.c @@ -107,7 +107,7 @@ int db_mysql_bind_api(db_func_t *dbb) dbb->query = db_mysql_query; dbb->fetch_result = db_mysql_fetch_result; dbb->raw_query = db_mysql_raw_query; - dbb->free_result = db_mysql_free_result; + dbb->free_result = (db_free_result_f) db_mysql_free_result; dbb->insert = db_mysql_insert; dbb->delete = db_mysql_delete; dbb->update = db_mysql_update;