qcap: Remove superfluous pointer casts.

This commit is contained in:
Michael Stefaniuc 2009-02-18 22:46:51 +01:00 committed by Alexandre Julliard
parent 6c54ad3dba
commit 1f56ce42e3
1 changed files with 3 additions and 3 deletions

View File

@ -78,9 +78,9 @@ static inline CaptureGraphImpl *impl_from_ICaptureGraphBuilder2( ICaptureGraphBu
/* /*
converts This to an interface pointer converts This to an interface pointer
*/ */
#define _IUnknown_(This) (IUnknown*)&(This->lpVtbl2) #define _IUnknown_(This) (&(This)->lpVtbl2)
#define _ICaptureGraphBuilder_(This) (ICaptureGraphBuilder*)&(This->lpVtbl) #define _ICaptureGraphBuilder_(This) (&(This)->lpVtbl)
#define _ICaptureGraphBuilder2_(This) (ICaptureGraphBuilder2*)&(This->lpVtbl2) #define _ICaptureGraphBuilder2_(This) ((ICaptureGraphBuilder2*)&(This)->lpVtbl2)
IUnknown * CALLBACK QCAP_createCaptureGraphBuilder2(IUnknown *pUnkOuter, IUnknown * CALLBACK QCAP_createCaptureGraphBuilder2(IUnknown *pUnkOuter,