diff options
author | Blue Swirl | 2012-04-15 21:56:06 +0200 |
---|---|---|
committer | Blue Swirl | 2012-04-15 21:56:06 +0200 |
commit | e6f5d0be730a41bacb10edba19d1369ec2949486 (patch) | |
tree | ecf6fded694c4409c16d953f36d6e68aca33de12 /main-loop.c | |
parent | target-alpha: QOM'ify CPU init (diff) | |
parent | w64: Fix time conversion for some versions of MinGW-w64 (diff) | |
download | qemu-e6f5d0be730a41bacb10edba19d1369ec2949486.tar.gz qemu-e6f5d0be730a41bacb10edba19d1369ec2949486.tar.xz qemu-e6f5d0be730a41bacb10edba19d1369ec2949486.zip |
Merge branch 'w64' of git://qemu.weilnetz.de/qemu
* 'w64' of git://qemu.weilnetz.de/qemu:
w64: Fix time conversion for some versions of MinGW-w64
nbd: Fix compiler warning (w64)
disas: Replace 'unsigned long' by 'uintptr_t'
cpu-exec: Remove non-portable type cast and fix format string
target-mips: Fix type cast for w64 (uintptr_t)
w64: Fix type cast in os_host_main_loop_wait
w64: Fix data types in softmmu*.h
w64: Use uintptr_t in exec.c
softmmu: Use uintptr_t for physaddr and rename it
w64: Fix struct CPUTLBEntry
w64: Fix definition of setjmp
w32: Move defines for socket specific errors to qemu-os-win32.h
w64: Use larger alignment for section with generated code
w64: Fix data types in cpu-all.h, exec.c
w64: Fix type casts used in some macros in cpu-all.h
tcg/i386: Add support for w64 ABI
tcg/i386: Use GDB JIT debugging interface only for hosts with ELF
Diffstat (limited to 'main-loop.c')
-rw-r--r-- | main-loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main-loop.c b/main-loop.c index 1ebdc4baf1..4887c732fa 100644 --- a/main-loop.c +++ b/main-loop.c @@ -430,7 +430,7 @@ static int os_host_main_loop_wait(int timeout) g_assert(n_poll_fds <= ARRAY_SIZE(poll_fds)); for (i = 0; i < w->num; i++) { - poll_fds[n_poll_fds + i].fd = (DWORD) w->events[i]; + poll_fds[n_poll_fds + i].fd = (DWORD_PTR)w->events[i]; poll_fds[n_poll_fds + i].events = G_IO_IN; } |