aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-12-05 15:31:23 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-12-05 15:31:23 +0000
commit06d7c28118f64055ea32a4e0a705d71f53332a36 (patch)
treea1b3f864f1df75b59678f35b3388d09f0e552102 /src
parentf30b6cfdff0b9ba7ae9872df5e664e87698a24e1 (diff)
downloadrspamd-06d7c28118f64055ea32a4e0a705d71f53332a36.tar.gz
rspamd-06d7c28118f64055ea32a4e0a705d71f53332a36.zip
off_t may be not compatible with size_t.
Diffstat (limited to 'src')
-rw-r--r--src/statfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/statfile.c b/src/statfile.c
index b4771ce15..35dd54172 100644
--- a/src/statfile.c
+++ b/src/statfile.c
@@ -310,7 +310,7 @@ statfile_pool_open (statfile_pool_t * pool, gchar *filename, size_t size, gboole
if (!forced && labs (size - st.st_size) > (long)sizeof (struct stat_file) * 2
&& size > sizeof (struct stat_file)) {
memory_pool_unlock_mutex (pool->lock);
- msg_warn ("need to reindex statfile old size: %Hz, new size: %Hz", st.st_size, size);
+ msg_warn ("need to reindex statfile old size: %Hz, new size: %Hz", (size_t)st.st_size, size);
return statfile_pool_reindex (pool, filename, st.st_size, size);
}
else if (size < sizeof (struct stat_file)) {