From 06d7c28118f64055ea32a4e0a705d71f53332a36 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 5 Dec 2013 15:31:23 +0000 Subject: [PATCH] off_t may be not compatible with size_t. --- src/statfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.39.5