Commit 5e2a7241 by Gerald Pfeifer Committed by Gerald Pfeifer

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

From-SVN: r268105
parent 5bdebb51
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
......
......@@ -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);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment