Module: sip-router Branch: 4.0 Commit: 19bcbfcacbc442488e93f8c684fd815323d3fcf7 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=19bcbfca...
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 462dc60..252b499 100644 --- a/modules/db_mysql/km_db_mysql.c +++ b/modules/db_mysql/km_db_mysql.c @@ -106,7 +106,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;