Michael Stefaniuc : quartz: Don't cast from COM object to interface.
Alexandre Julliard
julliard at winehq.org
Mon Sep 2 14:50:19 CDT 2019
Module: wine
Branch: master
Commit: c2aec6a0778fa2afc2b9b10719e570b21c1eba7e
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c2aec6a0778fa2afc2b9b10719e570b21c1eba7e
Author: Michael Stefaniuc <mstefani at winehq.org>
Date: Mon Sep 2 12:18:35 2019 +0200
quartz: Don't cast from COM object to interface.
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/quartz/dsoundrender.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/quartz/dsoundrender.c b/dlls/quartz/dsoundrender.c
index 6451f85..3478f95 100644
--- a/dlls/quartz/dsoundrender.c
+++ b/dlls/quartz/dsoundrender.c
@@ -394,7 +394,7 @@ static HRESULT WINAPI DSoundRender_DoRenderSample(BaseRenderer *iface, IMediaSam
q.Proportion = 1000;
q.Late = jitter;
q.TimeStamp = tStart;
- IQualityControl_Notify((IQualityControl *)This->renderer.qcimpl, (IBaseFilter*)This, q);
+ IQualityControl_Notify((IQualityControl *)This->renderer.qcimpl, &This->renderer.filter.IBaseFilter_iface, q);
}
return hr;
}
More information about the wine-cvs
mailing list