qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] w32: Fix arguments for GetProcessAffinityMask, SetProcessAffinityMask
@ 2011-02-05 19:59 Stefan Weil
  2011-02-20 17:02 ` Aurelien Jarno
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2011-02-05 19:59 UTC (permalink / raw)
  To: QEMU Developers; +Cc: Anthony Liguori

These functions take arguments of type PDWORD_PTR which is a
pointer to a DWORD_PTR, not a pointer to a DWORD.

Cc: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
 os-win32.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/os-win32.c b/os-win32.c
index 566d5e9..b214e6a 100644
--- a/os-win32.c
+++ b/os-win32.c
@@ -180,7 +180,7 @@ void os_setup_early_signal_handling(void)
     /* Note: cpu_interrupt() is currently not SMP safe, so we force
        QEMU to run on a single CPU */
     HANDLE h;
-    DWORD mask, smask;
+    DWORD_PTR mask, smask;
     int i;
 
     SetConsoleCtrlHandler(qemu_ctrl_handler, TRUE);
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-20 17:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-05 19:59 [Qemu-devel] [PATCH] w32: Fix arguments for GetProcessAffinityMask, SetProcessAffinityMask Stefan Weil
2011-02-20 17:02 ` Aurelien Jarno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).