mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
wdmaud.drv: don't cast DWORD to PVOID, use UlongToPtr instead
svn path=/branches/ros-amd64-bringup/; revision=41101
This commit is contained in:
@@ -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) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user