The fields are not uint64 just longs, update the printf format specifiers. Signed-off-by: Daniel Wagner <dwagner@xxxxxxx> --- Found while building on ARMv7 src/signaltest/signaltest.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/signaltest/signaltest.c b/src/signaltest/signaltest.c index 2dd22070cb5d..8df39528730d 100644 --- a/src/signaltest/signaltest.c +++ b/src/signaltest/signaltest.c @@ -393,9 +393,9 @@ static void write_stats(FILE *f, void *data) for (i = 0; i < num_threads; i++) { fprintf(f, " \"%u\": {\n", i); s = &par->stats[i]; - fprintf(f, " \"cycles\": %" PRIu64 ",\n", s->cycles); - fprintf(f, " \"min\": %" PRIu64 ",\n", s->min); - fprintf(f, " \"max\": %" PRIu64 ",\n", s->max); + fprintf(f, " \"cycles\": %ld,\n", s->cycles); + fprintf(f, " \"min\": %ld,\n", s->min); + fprintf(f, " \"max\": %ld,\n", s->max); fprintf(f, " \"avg\": %.2f,\n", s->avg/s->cycles); fprintf(f, " \"cpu\": %d\n", par->cpu); fprintf(f, " }%s\n", i == num_threads - 1 ? "" : ","); -- 2.31.1