Merge trunk head (r43756)
[reactos.git] / reactos / dll / win32 / wdmaud.drv / wdmaud.c
index 7050ca7..ba54218 100644 (file)
@@ -660,7 +660,7 @@ PopulateWdmDeviceList(
 
     for ( i = 0; i < DeviceCount; ++ i )
     {
-        Result = ListSoundDevice(DeviceType, (PVOID) i, &SoundDevice);
+        Result = ListSoundDevice(DeviceType, UlongToPtr(i), &SoundDevice);
 
         if ( ! MMSUCCESS(Result) )
         {