Browse code

db_mysql: add cast to remove compile warning

Richard Fuchs authored on 29/04/2013 15:26:18
Showing 1 changed files
... ...
@@ -107,7 +107,7 @@ int db_mysql_bind_api(db_func_t *dbb)
107 107
 	dbb->query            = db_mysql_query;
108 108
 	dbb->fetch_result     = db_mysql_fetch_result;
109 109
 	dbb->raw_query        = db_mysql_raw_query;
110
-	dbb->free_result      = db_mysql_free_result;
110
+	dbb->free_result      = (db_free_result_f) db_mysql_free_result;
111 111
 	dbb->insert           = db_mysql_insert;
112 112
 	dbb->delete           = db_mysql_delete;
113 113
 	dbb->update           = db_mysql_update;