* allocfail.c (main): Increase portability of printf statement.

From-SVN: r268105
This commit is contained in:
Gerald Pfeifer 2019-01-20 15:09:02 +00:00 committed by Gerald Pfeifer
parent 5bdebb51a6
commit 5e2a724199
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2019-01-20 Gerald Pfeifer <gerald@pfeifer.com>
* allocfail.c (main): Increase portability of printf statement.
2019-01-18 Ian Lance Taylor <iant@golang.org>
PR libbacktrace/88890

View File

@ -130,7 +130,7 @@ main (int argc, char **argv)
#endif
if (argc == 1)
fprintf (stderr, "%lu\n", get_nr_allocs ());
fprintf (stderr, "%llu\n", (long long unsigned) get_nr_allocs ());
exit (failures ? EXIT_FAILURE : EXIT_SUCCESS);
}