Re: [libbacktrace,PATCH] Fix non-portable printf format in allocfail.c

2019-01-20 Thread Ian Lance Taylor
Gerald Pfeifer writes: > 2019-01-20 Gerald Pfeifer > > * allocfail.c (main): Increase portability of printf statement. This is OK. Thanks. Ian

[libbacktrace,PATCH] Fix non-portable printf format in allocfail.c

2019-01-20 Thread Gerald Pfeifer
This addresses another fallout from the libbacktrace changes applied in November. libbacktrace/allocfail.c has the following declaration: extern uint64_t get_nr_allocs (void); And in line 133 then the following: fprintf (stderr, "%lu\n", get_nr_allocs ()); On a 32-bit system such as x86 t