* [PATCH] sim: ppc: fix the printf fix for 32-bit systems
@ 2021-11-01 4:59 Mike Frysinger
0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2021-11-01 4:59 UTC (permalink / raw)
To: gdb-patches
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 e40e1b4d56c5..898810c7b741 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.33.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-01 4:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-01 4:59 [PATCH] sim: ppc: fix the printf fix for 32-bit systems Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).