diff options
author | Stefan Weil <weil@mail.berlios.de> | 2011-02-05 20:59:49 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-02-20 18:01:38 +0100 |
commit | f45a11088b9971470218e156f8c78a5fce33adb5 (patch) | |
tree | ccca59e8d2d4d05f18beb6d3ae823d3eecb49d4a /os-win32.c | |
parent | 33ebc29337face0f030719960338af3d2654cdf8 (diff) | |
download | qemu-f45a11088b9971470218e156f8c78a5fce33adb5.zip qemu-f45a11088b9971470218e156f8c78a5fce33adb5.tar.gz qemu-f45a11088b9971470218e156f8c78a5fce33adb5.tar.bz2 |
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>
Diffstat (limited to 'os-win32.c')
-rw-r--r-- | os-win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |