diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-11 17:26:31 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-11 17:26:31 +0000 |
commit | 21377e96fe204111de716e37447d095b27014a23 (patch) | |
tree | 00c079c6a7f9f3a88bc77785729b58ba948525d2 /src/libstat/backends/sqlite3_backend.c | |
parent | 7c74c6281b881fbf093e84a3b3b8d6adb64433d6 (diff) | |
download | rspamd-21377e96fe204111de716e37447d095b27014a23.tar.gz rspamd-21377e96fe204111de716e37447d095b27014a23.zip |
Fix format strings
Diffstat (limited to 'src/libstat/backends/sqlite3_backend.c')
-rw-r--r-- | src/libstat/backends/sqlite3_backend.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstat/backends/sqlite3_backend.c b/src/libstat/backends/sqlite3_backend.c index ee9e53214..0983236bc 100644 --- a/src/libstat/backends/sqlite3_backend.c +++ b/src/libstat/backends/sqlite3_backend.c @@ -335,7 +335,8 @@ rspamd_sqlite3_get_user (struct rspamd_stat_sqlite3_db *db, if (user != NULL) { - rspamd_mempool_set_variable (task->task_pool, "stat_user", user, NULL); + rspamd_mempool_set_variable (task->task_pool, "stat_user", + (gpointer)user, NULL); rc = rspamd_sqlite3_run_prstmt (task->task_pool, db->sqlite, db->prstmt, RSPAMD_STAT_BACKEND_GET_USER, user, &id); |