This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.20-374-gbdf079d
- From: schwab at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 17 Dec 2014 14:24:51 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.20-374-gbdf079d
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via bdf079da369ad5685c0432b2f41a5aaf1ec990e7 (commit)
from 3eb5d2fc71c973b95c9678b0644c26c615668218 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=bdf079da369ad5685c0432b2f41a5aaf1ec990e7
commit bdf079da369ad5685c0432b2f41a5aaf1ec990e7
Author: Andreas Schwab <schwab@suse.de>
Date: Wed Dec 17 13:04:07 2014 +0100
Fix printf format error
diff --git a/ChangeLog b/ChangeLog
index 4be48d0..61bbbc9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-12-17 Andreas Schwab <schwab@suse.de>
+
+ * nscd/mem.c (gc): Add size_t cast to match printf format.
+
2014-12-16 Roland McGrath <roland@hack.frob.com>
* sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
diff --git a/nscd/mem.c b/nscd/mem.c
index b4090fb..b04c7fa 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
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
nscd/mem.c | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources