]> Git Repo - qemu.git/commitdiff
w32: Fix arguments for GetProcessAffinityMask, SetProcessAffinityMask
authorStefan Weil <[email protected]>
Sat, 5 Feb 2011 19:59:49 +0000 (20:59 +0100)
committerAurelien Jarno <[email protected]>
Sun, 20 Feb 2011 17:01:38 +0000 (18:01 +0100)
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]>
Signed-off-by: Aurelien Jarno <[email protected]>
os-win32.c

index 566d5e985352467b250396e0236a20e0647af2b0..b214e6a6785ac82c80484437eecb4c3d7f456ab5 100644 (file)
@@ -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);
This page took 0.025806 seconds and 4 git commands to generate.