From: Mike Frysinger Date: Mon, 1 Nov 2021 04:25:13 +0000 (-0400) Subject: sim: ppc: fix the printf fix for 32-bit systems X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8009a84cfd52c16bf6bcd0477ec89ff531bea678;p=binutils-gdb.git sim: ppc: fix the printf fix for 32-bit systems The time delta is a 64-bit value too. --- 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,