]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Do not use %zu format in libcpp.
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Nov 2018 14:32:13 +0000 (14:32 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Nov 2018 14:32:13 +0000 (14:32 +0000)
2018-11-05  Martin Liska  <mliska@suse.cz>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@265811 138bc75d-0d04-0410-961f-82ee72b054a4

libcpp/ChangeLog
libcpp/symtab.c

index 53fb80f1afe3c3ea03d3a56ef927b567e543cdf3..4f280471ba42ab5328b69edf5bb21f88541fee58 100644 (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
index 0976c43b0027dd8fcd0ba74bb3575231763fd4fe..de30bb83bfccd68967a56bdc85b23888f49d64b7 100644 (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));
     }