Re: [Qemu-devel] [PATCH] main-loop: Fix build for w32 and w64

2012-04-28 Thread Stefan Weil
Am 28.04.2012 16:34, schrieb Paolo Bonzini: Il 27/04/2012 17:02, Stefan Weil ha scritto: diff --git a/main-loop.c b/main-loop.c index 0457bf2..24cf540 100644 --- a/main-loop.c +++ b/main-loop.c @@ -410,6 +410,7 @@ static int os_host_main_loop_wait(uint32_t timeout) int ret, i; PollingEntry *pe;

Re: [Qemu-devel] [PATCH] main-loop: Fix build for w32 and w64

2012-04-28 Thread Paolo Bonzini
Il 27/04/2012 17:02, Stefan Weil ha scritto: > diff --git a/main-loop.c b/main-loop.c > index 0457bf2..24cf540 100644 > --- a/main-loop.c > +++ b/main-loop.c > @@ -410,6 +410,7 @@ static int os_host_main_loop_wait(uint32_t timeout) > int ret, i; > PollingEntry *pe; > WaitObjects *w

Re: [Qemu-devel] [PATCH] main-loop: Fix build for w32 and w64

2012-04-28 Thread Blue Swirl
On Fri, Apr 27, 2012 at 15:02, Stefan Weil wrote: > This patch fixes a build regression with MinGW which was introduced by > commit 7c7db75576bd5a31508208f153c5aada64b2c8df. > > The 3rd argument of g_main_context_query must point to a gint value. > Using a pointer to an uint32_t value is wrong. >

[Qemu-devel] [PATCH] main-loop: Fix build for w32 and w64

2012-04-27 Thread Stefan Weil
This patch fixes a build regression with MinGW which was introduced by commit 7c7db75576bd5a31508208f153c5aada64b2c8df. The 3rd argument of g_main_context_query must point to a gint value. Using a pointer to an uint32_t value is wrong. The timeout argument of function os_host_main_loop_wait was n