From: Stefan Weil Date: Sat, 5 Feb 2011 19:59:49 +0000 (+0100) Subject: w32: Fix arguments for GetProcessAffinityMask, SetProcessAffinityMask X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~6390 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f45a11088b9971470218e156f8c78a5fce33adb5;p=sdk%2Femulator%2Fqemu.git 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 Signed-off-by: Stefan Weil Signed-off-by: Aurelien Jarno --- 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);