Author: tkreuzer
Date: Sun May 24 16:53:47 2009
New Revision: 41101
URL:
http://svn.reactos.org/svn/reactos?rev=41101&view=rev
Log:
wdmaud.drv: don't cast DWORD to PVOID, use UlongToPtr instead
Modified:
branches/ros-amd64-bringup/reactos/dll/win32/wdmaud.drv/wdmaud.c
Modified: branches/ros-amd64-bringup/reactos/dll/win32/wdmaud.drv/wdmaud.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/dll/w…
==============================================================================
--- branches/ros-amd64-bringup/reactos/dll/win32/wdmaud.drv/wdmaud.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/dll/win32/wdmaud.drv/wdmaud.c [iso-8859-1] Sun May
24 16:53:47 2009
@@ -344,7 +344,7 @@
for ( i = 0; i < DeviceCount; ++ i )
{
- Result = ListSoundDevice(DeviceType, (PVOID) i, &SoundDevice);
+ Result = ListSoundDevice(DeviceType, UlongToPtr(i), &SoundDevice);
if ( ! MMSUCCESS(Result) )
{