w32: Fix arguments for GetProcessAffinityMask, SetProcessAffinityMask
PATCH 1/1 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 <[email protected]>
Signed-off-by Stefan Weil <[email protected]>
--- os-win32.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
os-win32.c +1 -1
@@ -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);
Signature · 1 line
1.7.2.3
Quoted 8 lines · Stefan Weil
These functions take arguments of type
PDWORD_PTRwhich is a pointer to aDWORD_PTR, not a pointer to a DWORD.Cc Anthony Liguori <[email protected]>Signed-off-by Stefan Weil <[email protected]>--- os-win32.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Thank, applied.
Quoted 18 lines
os-win32.c +1
-1@@ -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);Signature · 1 line
1.7.2.3
Signature · 2 lines
Aurelien Jarno GPG: 1024D/F1BCDB73 [email protected] http://www.aurel32.net