Re: [Qemu-devel] [PATCH] hw/qxl.c: Fix compilation failures on 32 bit hosts

2012-03-19 Thread Gerd Hoffmann
On 03/19/12 13:02, Gerd Hoffmann wrote: > On 03/16/12 14:50, Peter Maydell wrote: >> Fix compilation failures on 32 bit hosts (cast from pointer to >> integer of different size; %ld expects 'long int' not uint64_t). > > Acked-by: Gerd Hoffmann Oops, scratch that, should have been "added to spice

Re: [Qemu-devel] [PATCH] hw/qxl.c: Fix compilation failures on 32 bit hosts

2012-03-19 Thread Gerd Hoffmann
On 03/16/12 14:50, Peter Maydell wrote: > Fix compilation failures on 32 bit hosts (cast from pointer to > integer of different size; %ld expects 'long int' not uint64_t). Acked-by: Gerd Hoffmann cheers, Gerd

Re: [Qemu-devel] [PATCH] hw/qxl.c: Fix compilation failures on 32 bit hosts

2012-03-16 Thread Peter Maydell
On 16 March 2012 14:37, Stefan Weil wrote: >>          fprintf(stderr, >> -                "qxl: %s: error: current_async = %d != %ld = >> cookie->io\n", >> +                "qxl: %s: error: current_async = %d != %" PRId64 " = >> cookie->io\n", >>                  __func__, current_async, cookie->

Re: [Qemu-devel] [PATCH] hw/qxl.c: Fix compilation failures on 32 bit hosts

2012-03-16 Thread Stefan Weil
Am 16.03.2012 14:50, schrieb Peter Maydell: Fix compilation failures on 32 bit hosts (cast from pointer to integer of different size; %ld expects 'long int' not uint64_t). Reported-by: Steve Langasek Signed-off-by: Peter Maydell --- hw/qxl.c | 16 1 files changed, 8 inserti

[Qemu-devel] [PATCH] hw/qxl.c: Fix compilation failures on 32 bit hosts

2012-03-16 Thread Peter Maydell
Fix compilation failures on 32 bit hosts (cast from pointer to integer of different size; %ld expects 'long int' not uint64_t). Reported-by: Steve Langasek Signed-off-by: Peter Maydell --- hw/qxl.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/hw/qxl.c