mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-30 12:31:53 +08:00
Get rid of format warning in tst-widetext.c.
This commit is contained in:
parent
bdf079da36
commit
eca2772b9a
@ -1,3 +1,9 @@
|
||||
2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
|
||||
|
||||
* libio/tst-widetext.c (do_test):
|
||||
Use format type %td instead of %Zd for ptrdiff_t
|
||||
in order to avoid format warning.
|
||||
|
||||
2014-12-17 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* nscd/mem.c (gc): Add size_t cast to match printf format.
|
||||
|
@ -291,7 +291,7 @@ do_test (void)
|
||||
{
|
||||
if (fgetws (wcp, &wc2buf[wcsize] - wcp + 1, fp) == NULL)
|
||||
{
|
||||
printf ("%u: short read using fgetws (only %Zd of %Zd)\n",
|
||||
printf ("%u: short read using fgetws (only %td of %Zd)\n",
|
||||
__LINE__, wcp - wc2buf, wcsize);
|
||||
status = 1;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user