Do not use %zu format in libcpp.

2018-11-05  Martin Liska  <mliska@suse.cz>

	* symtab.c (ht_dump_statistics): Replace %zu with %lu format.

From-SVN: r265811
This commit is contained in:
Martin Liska 2018-11-05 15:32:13 +01:00 committed by Martin Liska
parent 037903cbd1
commit 546f678c5c
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2018-11-05 Martin Liska <mliska@suse.cz>
* symtab.c (ht_dump_statistics): Replace %zu with %lu format.
2018-11-05 Martin Liska <mliska@suse.cz>
* symtab.c (ht_dump_statistics): Fix format and

View File

@ -321,7 +321,7 @@ ht_dump_statistics (cpp_hash_table *table)
else
{
overhead = obstack_memory_used (&table->stack) - total_bytes;
fprintf (stderr, "obstack bytes\t%zu%c (%zu%c overhead)\n",
fprintf (stderr, "obstack bytes\t%lu%c (%lu%c overhead)\n",
SCALE (total_bytes), LABEL (total_bytes),
SCALE (overhead), LABEL (overhead));
}