Message ID | 20091019071145.GA5935@linux.vnet.ibm.com |
---|---|
State | New |
Headers | show |
diff --git a/monitor.c b/monitor.c index b4c4878..5416fdb 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=%ld", (int long)qdict_get_int(cpu, "thread_id")); monitor_printf(mon, "\n"); }