wdmaud.drv: don't cast DWORD to PVOID, use UlongToPtr instead

svn path=/branches/ros-amd64-bringup/; revision=41101
This commit is contained in:
Timo Kreuzer
2009-05-24 12:53:47 +00:00
parent bbcfae27c5
commit 7d8b1bafe3
+1 -1
View File
@@ -344,7 +344,7 @@ PopulateWdmDeviceList(
for ( i = 0; i < DeviceCount; ++ i )
{
Result = ListSoundDevice(DeviceType, (PVOID) i, &SoundDevice);
Result = ListSoundDevice(DeviceType, UlongToPtr(i), &SoundDevice);
if ( ! MMSUCCESS(Result) )
{