about summary refs log tree commit diff
path: root/nscd/mem.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2014-12-17 13:04:07 +0100
committerAndreas Schwab <schwab@suse.de>2014-12-17 15:23:48 +0100
commitbdf079da369ad5685c0432b2f41a5aaf1ec990e7 (patch)
tree67aba07c5b16d7da22f6a7b86f5b3a74ac1c108e /nscd/mem.c
parent3eb5d2fc71c973b95c9678b0644c26c615668218 (diff)
downloadglibc-bdf079da369ad5685c0432b2f41a5aaf1ec990e7.tar.gz
glibc-bdf079da369ad5685c0432b2f41a5aaf1ec990e7.tar.xz
glibc-bdf079da369ad5685c0432b2f41a5aaf1ec990e7.zip
Fix printf format error
Diffstat (limited to 'nscd/mem.c')
-rw-r--r--nscd/mem.c4
1 files changed, 2 insertions, 2 deletions
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