Commit f45a1108 authored by Stefan Weil's avatar Stefan Weil Committed by Aurelien Jarno
Browse files

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: default avatarStefan Weil <>
Signed-off-by: default avatarAurelien Jarno <>
parent 33ebc293
......@@ -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 */
DWORD mask, smask;
DWORD_PTR mask, smask;
int i;
SetConsoleCtrlHandler(qemu_ctrl_handler, TRUE);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment