From 42b81716ece887b0011b1e40b0101ad37598997e Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 3 Dec 2008 19:48:15 +0300 Subject: * Remove strlcpy code and replace it with glib alternative * Polish code and remove bugs found --- src/statfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/statfile.c') diff --git a/src/statfile.c b/src/statfile.c index fc7ebfc7a..3f68a1de2 100644 --- a/src/statfile.c +++ b/src/statfile.c @@ -117,7 +117,7 @@ statfile_pool_open (statfile_pool_t *pool, char *filename) } if (st.st_size > pool->max) { - msg_info ("statfile_pool_open: cannot attach file to pool, too large: %zd", st.st_size); + msg_info ("statfile_pool_open: cannot attach file to pool, too large: %zd", (size_t)st.st_size); return -1; } -- cgit v1.2.3