From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=37500 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PloIe-0001dc-Ga for qemu-devel@nongnu.org; Sat, 05 Feb 2011 15:00:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PloId-0000NO-84 for qemu-devel@nongnu.org; Sat, 05 Feb 2011 15:00:04 -0500 Received: from moutng.kundenserver.de ([212.227.17.9]:59678) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PloIc-0000LF-Q0 for qemu-devel@nongnu.org; Sat, 05 Feb 2011 15:00:03 -0500 From: Stefan Weil Date: Sat, 5 Feb 2011 20:59:49 +0100 Message-Id: <1296935989-10812-1-git-send-email-weil@mail.berlios.de> Subject: [Qemu-devel] [PATCH] w32: Fix arguments for GetProcessAffinityMask, SetProcessAffinityMask List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers Cc: Anthony Liguori 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: Stefan Weil --- os-win32.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/os-win32.c b/os-win32.c index 566d5e9..b214e6a 100644 --- a/os-win32.c +++ b/os-win32.c @@ -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); -- 1.7.2.3