]> Git Repo - qemu.git/blobdiff - main-loop.c
target-i386: Add property getter for CPU model
[qemu.git] / main-loop.c
index 7e163f94288763ec13b4ab39c7f3376ba6bdd73c..4887c732faec5b6a22847288e6d99983d1260128 100644 (file)
@@ -164,7 +164,7 @@ static int qemu_signal_init(void)
 
 #else /* _WIN32 */
 
-HANDLE qemu_event_handle = NULL;
+static HANDLE qemu_event_handle = NULL;
 
 static void dummy_event_handler(void *opaque)
 {
@@ -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 = (DWORDw->events[i];
+        poll_fds[n_poll_fds + i].fd = (DWORD_PTR)w->events[i];
         poll_fds[n_poll_fds + i].events = G_IO_IN;
     }
 
This page took 0.024388 seconds and 4 git commands to generate.