On Mon, Oct 19, 2009 at 01:51:02PM +0530, Kamalesh Babulal wrote:
> > >+monitor_printf(mon, " thread_id=%ld", (int long)qdict_get_int(cpu,
> > >"thread_id"));
> >
> > You should use %PRId64 instead of %ld.
>
> Hi Laurent,
>
> Thanks for the review.
>
> Resending the patch with
* Laurent Vivier [2009-10-19 09:50:21]:
> >Hi Marcelo,
> >
> > qemu-0.11.50 build breaks with
> >
> >CCx86_64-softmmu/monitor.o
> >cc1: warnings being treated as errors
> >/other/srcs/qemu-kvm/monitor.c: In function 'print_cpu_iter':
> >/other/srcs/qemu-kvm/monitor.c:450: error: format '
>Hi Marcelo,
>
> qemu-0.11.50 build breaks with
>
>CCx86_64-softmmu/monitor.o
>cc1: warnings being treated as errors
>/other/srcs/qemu-kvm/monitor.c: In function 'print_cpu_iter':
>/other/srcs/qemu-kvm/monitor.c:450: error: format '%ld' expects type 'long
>int', but argument 3 has type
Hi Marcelo,
qemu-0.11.50 build breaks with
CCx86_64-softmmu/monitor.o
cc1: warnings being treated as errors
/other/srcs/qemu-kvm/monitor.c: In function 'print_cpu_iter':
/other/srcs/qemu-kvm/monitor.c:450: error: format '%ld' expects type 'long
int', but argument 3 has type 'int64_t