[PATCH] mmdevapi: Fix pointer type cast
Andrew Eikum
aeikum at codeweavers.com
Mon Feb 6 08:06:51 CST 2017
Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
On Sun, Feb 05, 2017 at 05:19:18PM +0300, Nikolay Sivov wrote:
> Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
> ---
> dlls/mmdevapi/devenum.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/dlls/mmdevapi/devenum.c b/dlls/mmdevapi/devenum.c
> index 221fb39bd3..b189e8e060 100644
> --- a/dlls/mmdevapi/devenum.c
> +++ b/dlls/mmdevapi/devenum.c
> @@ -613,7 +613,7 @@ static HRESULT WINAPI MMDevice_Activate(IMMDevice *iface, REFIID riid, DWORD cls
> if (SUCCEEDED(hr))
> {
> IPersistPropertyBag *ppb;
> - hr = IUnknown_QueryInterface((IUnknown*)*ppv, &IID_IPersistPropertyBag, (void*)&ppb);
> + hr = IUnknown_QueryInterface((IUnknown*)*ppv, &IID_IPersistPropertyBag, (void **)&ppb);
> if (SUCCEEDED(hr))
> {
> /* ::Load cannot assume the interface stays alive after the function returns,
> --
> 2.11.0
>
>
>
More information about the wine-patches
mailing list