From e0851fc1fafafb1a4deeb87deca3c6400f88e1f1 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Thu, 8 Jan 2009 00:38:16 +0100 Subject: [PATCH] amstream: Remove superfluous casts. --- dlls/amstream/mediastreamfilter.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dlls/amstream/mediastreamfilter.c b/dlls/amstream/mediastreamfilter.c index 7f57e607113..73dcc3d31b5 100644 --- a/dlls/amstream/mediastreamfilter.c +++ b/dlls/amstream/mediastreamfilter.c @@ -82,15 +82,15 @@ static HRESULT WINAPI MediaStreamFilterImpl_QueryInterface(IMediaStreamFilter * *ppv = NULL; if (IsEqualIID(riid, &IID_IUnknown)) - *ppv = (LPVOID)This; + *ppv = This; else if (IsEqualIID(riid, &IID_IPersist)) - *ppv = (LPVOID)This; + *ppv = This; else if (IsEqualIID(riid, &IID_IMediaFilter)) - *ppv = (LPVOID)This; + *ppv = This; else if (IsEqualIID(riid, &IID_IBaseFilter)) - *ppv = (LPVOID)This; + *ppv = This; else if (IsEqualIID(riid, &IID_IMediaStreamFilter)) - *ppv = (LPVOID)This; + *ppv = This; if (*ppv) {