Commit 054f1e8c authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

mmdevapi: Fix pointer type cast.

parent fd9e7d0f
...@@ -613,7 +613,7 @@ static HRESULT WINAPI MMDevice_Activate(IMMDevice *iface, REFIID riid, DWORD cls ...@@ -613,7 +613,7 @@ static HRESULT WINAPI MMDevice_Activate(IMMDevice *iface, REFIID riid, DWORD cls
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
{ {
IPersistPropertyBag *ppb; IPersistPropertyBag *ppb;
hr = IUnknown_QueryInterface((IUnknown*)*ppv, &IID_IPersistPropertyBag, (void*)&ppb); hr = IUnknown_QueryInterface((IUnknown*)*ppv, &IID_IPersistPropertyBag, (void **)&ppb);
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
{ {
/* ::Load cannot assume the interface stays alive after the function returns, /* ::Load cannot assume the interface stays alive after the function returns,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment