From: Michael Stefaniuc Subject: quartz: Remove an object to IFilterGraph2 cast. Message-Id: <20120704152649.GA31915@redhat.com> Date: Wed, 4 Jul 2012 17:26:49 +0200 --- Fixes the regressions reported in bugs #31120 and #31106. dlls/quartz/filtergraph.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c index 7b6654b..6b0085d 100644 --- a/dlls/quartz/filtergraph.c +++ b/dlls/quartz/filtergraph.c @@ -1991,7 +1991,7 @@ static HRESULT WINAPI MediaControl_Run(IMediaControl *iface) This->EcCompleteCount = 0; if (This->defaultclock && !This->refClock) - IFilterGraph2_SetDefaultSyncSource((IFilterGraph2*)This); + IFilterGraph2_SetDefaultSyncSource(&This->IFilterGraph2_iface); if (This->refClock) { -- 1.7.6.5