aboutsummaryrefslogtreecommitdiff
path: root/os-win32.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2011-02-05 20:59:49 +0100
committerAurelien Jarno <aurelien@aurel32.net>2011-02-20 18:01:38 +0100
commitf45a11088b9971470218e156f8c78a5fce33adb5 (patch)
treeccca59e8d2d4d05f18beb6d3ae823d3eecb49d4a /os-win32.c
parent33ebc29337face0f030719960338af3d2654cdf8 (diff)
w32: Fix arguments for GetProcessAffinityMask, SetProcessAffinityMask
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> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'os-win32.c')
-rw-r--r--os-win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os-win32.c b/os-win32.c
index 566d5e9853..b214e6a678 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);