mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-12 14:21:18 +08:00
Fix printf format error
This commit is contained in:
parent
3eb5d2fc71
commit
bdf079da36
@ -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>.
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user