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>
This commit is contained in:
parent
33ebc29337
commit
f45a11088b
@ -180,7 +180,7 @@ void os_setup_early_signal_handling(void)
|
|||||||
/* Note: cpu_interrupt() is currently not SMP safe, so we force
|
/* Note: cpu_interrupt() is currently not SMP safe, so we force
|
||||||
QEMU to run on a single CPU */
|
QEMU to run on a single CPU */
|
||||||
HANDLE h;
|
HANDLE h;
|
||||||
DWORD mask, smask;
|
DWORD_PTR mask, smask;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
SetConsoleCtrlHandler(qemu_ctrl_handler, TRUE);
|
SetConsoleCtrlHandler(qemu_ctrl_handler, TRUE);
|
||||||
|
Loading…
Reference in New Issue
Block a user