main-loop: Fix build for w32 and w64
authorStefan Weil <sw@weilnetz.de>
Fri, 27 Apr 2012 15:02:08 +0000 (17:02 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 28 Apr 2012 09:25:54 +0000 (09:25 +0000)
commit42fe1c245f0239ebcdc084740a1777ac3699d071
tree86fdcbe81865d5c0bc4a1739e1bf7b538c8ac9cc
parent08de3949bd021aece439d396ad8de96f29dcd090
main-loop: Fix build for w32 and w64

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 never
used for w32 / w64.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
main-loop.c