Author: sginsberg Date: Sat Oct 25 12:58:43 2008 New Revision: 36961
URL: http://svn.reactos.org/svn/reactos?rev=36961&view=rev Log: - Make serial build for 64 bit -- explicitly cast first parameter to InterlockedCompareExchangePointer to PVOID (not needed, with ros headers, on 32-bit for whatever reason)
Modified: branches/ros-amd64-bringup/reactos/drivers/serial/serial/devctrl.c
Modified: branches/ros-amd64-bringup/reactos/drivers/serial/serial/devctrl.c URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/driver... ============================================================================== --- branches/ros-amd64-bringup/reactos/drivers/serial/serial/devctrl.c [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/drivers/serial/serial/devctrl.c [iso-8859-1] Sat Oct 25 12:58:43 2008 @@ -802,7 +802,7 @@ * as pending, it might be possible to complete the * Irp before pending it, leading to a crash! */ WaitingIrp = InterlockedCompareExchangePointer( - &DeviceExtension->WaitOnMaskIrp, + (PVOID)&DeviceExtension->WaitOnMaskIrp, Irp, NULL);