X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fdll%2Fwin32%2Fwdmaud.drv%2Fwdmaud.c;h=ba542187e435642370c1a94620b7c7db7d127151;hp=7050ca724639cfb0fe2c5a873dfaca113ff96c4a;hb=cc5c0a08164f732809d06487a52217e788cd0324;hpb=e818f18502b09fe1584af9d09ca6bd5005d4a6a5 diff --git a/reactos/dll/win32/wdmaud.drv/wdmaud.c b/reactos/dll/win32/wdmaud.drv/wdmaud.c index 7050ca72463..ba542187e43 100644 --- a/reactos/dll/win32/wdmaud.drv/wdmaud.c +++ b/reactos/dll/win32/wdmaud.drv/wdmaud.c @@ -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) ) {