From 07a7c1f8226156d994e5053ae99cddad332b5542 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Mon, 26 Jan 2009 11:01:19 +0100 Subject: [PATCH] itss: Remove some superfluous pointer casts. --- dlls/itss/itss.c | 2 +- dlls/itss/moniker.c | 2 +- dlls/itss/protocol.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/itss/itss.c b/dlls/itss/itss.c index 0722efad9c2..3ecab256fb2 100644 --- a/dlls/itss/itss.c +++ b/dlls/itss/itss.c @@ -363,7 +363,7 @@ static HRESULT ITSS_create(IUnknown *pUnkOuter, LPVOID *ppObj) its->ref = 1; TRACE("-> %p\n", its); - *ppObj = (LPVOID) its; + *ppObj = its; ITSS_LockModule(); return S_OK; diff --git a/dlls/itss/moniker.c b/dlls/itss/moniker.c index 41e2bdaad86..76630cd518e 100644 --- a/dlls/itss/moniker.c +++ b/dlls/itss/moniker.c @@ -473,7 +473,7 @@ HRESULT ITS_IParseDisplayName_create(IUnknown *pUnkOuter, LPVOID *ppObj) its->ref = 1; TRACE("-> %p\n", its); - *ppObj = (LPVOID) its; + *ppObj = its; ITSS_LockModule(); return S_OK; diff --git a/dlls/itss/protocol.c b/dlls/itss/protocol.c index c2277e2c210..a028c858586 100644 --- a/dlls/itss/protocol.c +++ b/dlls/itss/protocol.c @@ -47,7 +47,7 @@ typedef struct { } ITSProtocol; #define PROTOCOL(x) ((IInternetProtocol*) &(x)->lpInternetProtocolVtbl) -#define PROTINFO(x) ((IInternetProtocolInfo*) &(x)->lpInternetProtocolInfoVtbl) +#define PROTINFO(x) (&(x)->lpInternetProtocolInfoVtbl) static void release_chm(ITSProtocol *This) {