From 8009a84cfd52c16bf6bcd0477ec89ff531bea678 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 1 Nov 2021 00:25:13 -0400 Subject: [PATCH] sim: ppc: fix the printf fix for 32-bit systems The time delta is a 64-bit value too. --- sim/ppc/events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim/ppc/events.c b/sim/ppc/events.c index e40e1b4d56c..898810c7b74 100644 --- a/sim/ppc/events.c +++ b/sim/ppc/events.c @@ -169,7 +169,7 @@ update_time_from_event(event_queue *events) event != NULL; event = event->next, i++) { - TRACE(trace_events, ("event time-from-event - time %" PRIi64 ", delta %ld - event %d, tag %p, time %" PRIi64 ", handler %p, data %p\n", + TRACE(trace_events, ("event time-from-event - time %" PRIi64 ", delta %" PRIi64 " - event %d, tag %p, time %" PRIi64 ", handler %p, data %p\n", current_time, events->time_from_event, i, -- 2.30.2