Message ID | 1256215521-12833-1-git-send-email-Pierre.Riteau@irisa.fr (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/monitor.c b/monitor.c index b4c4878..cf633a4 100644 --- a/monitor.c +++ b/monitor.c @@ -447,7 +447,7 @@ static void print_cpu_iter(QObject *obj, void *opaque) if (strcmp(qdict_get_str(cpu, "halted"), "yes") == 0) monitor_printf(mon, " (halted)"); - monitor_printf(mon, " thread_id=%ld", qdict_get_int(cpu, "thread_id")); + monitor_printf(mon, " thread_id=%" PRId64, qdict_get_int(cpu, "thread_id")); monitor_printf(mon, "\n"); }