From bdf079da369ad5685c0432b2f41a5aaf1ec990e7 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 17 Dec 2014 13:04:07 +0100 Subject: Fix printf format error --- nscd/mem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nscd') diff --git a/nscd/mem.c b/nscd/mem.c index b4090fb6a5..b04c7fa962 100644 --- a/nscd/mem.c +++ b/nscd/mem.c @@ -423,8 +423,8 @@ gc (struct database_dyn *db) if (__glibc_unlikely (debug_level >= 3)) dbg_log (_("freed %zu bytes in %s cache"), - db->head->first_free - - ((char *) moves->to + moves->size - db->data), + (size_t) (db->head->first_free + - ((char *) moves->to + moves->size - db->data)), dbnames[db - dbs]); /* The byte past the end of the last copied block is the next -- cgit v1.2.3